-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from IndigoDomotics/mmb-IndigoSDK
Finished bringing all SDK Example Plugins up to py3 compatibility.
- Loading branch information
Showing
60 changed files
with
3,939 additions
and
4,148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 10 additions & 10 deletions
20
Example Custom Broadcaster.indigoPlugin/Contents/Server Plugin/MenuItems.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<?xml version="1.0"?> | ||
<!-- If your plugin wants to add menu items to it's submenu off the new Extensions menu, | ||
define them here. Each should have a unique menu id, a Name, and an Action. The last | ||
is a method name in your python file that will be called when the user selects that | ||
menu item. Note - nothing will be returned to the client, so if you need to communicate | ||
back to the user you can post information into the Event Log. | ||
define them here. Each should have a unique menu id, a Name, and an Action. The last | ||
is a method name in your python file that will be called when the user selects that | ||
menu item. Note - nothing will be returned to the client, so if you need to communicate | ||
back to the user you can post information into the Event Log. | ||
--> | ||
<MenuItems> | ||
<!-- | ||
<MenuItem id="menu1"> | ||
<Name>Something</Name> | ||
<CallbackMethod>somethingFunc</CallbackMethod> | ||
</MenuItem> | ||
--> | ||
<!-- | ||
<MenuItem id="menu1"> | ||
<Name>Something</Name> | ||
<CallbackMethod>something_func</CallbackMethod> | ||
</MenuItem> | ||
--> | ||
</MenuItems> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 10 additions & 10 deletions
20
Example Custom Subscriber.indigoPlugin/Contents/Server Plugin/MenuItems.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<?xml version="1.0"?> | ||
<!-- If your plugin wants to add menu items to it's submenu off the new Extensions menu, | ||
define them here. Each should have a unique menu id, a Name, and an Action. The last | ||
is a method name in your python file that will be called when the user selects that | ||
menu item. Note - nothing will be returned to the client, so if you need to communicate | ||
back to the user you can post information into the Event Log. | ||
define them here. Each should have a unique menu id, a Name, and an Action. The last | ||
is a method name in your python file that will be called when the user selects that | ||
menu item. Note - nothing will be returned to the client, so if you need to communicate | ||
back to the user you can post information into the Event Log. | ||
--> | ||
<MenuItems> | ||
<!-- | ||
<MenuItem id="menu1"> | ||
<Name>Something</Name> | ||
<CallbackMethod>somethingFunc</CallbackMethod> | ||
</MenuItem> | ||
--> | ||
<!-- | ||
<MenuItem id="menu1"> | ||
<Name>Something</Name> | ||
<CallbackMethod>something_func</CallbackMethod> | ||
</MenuItem> | ||
--> | ||
</MenuItems> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 28 additions & 28 deletions
56
Example Database Traverse.indigoPlugin/Contents/Server Plugin/MenuItems.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
<?xml version="1.0"?> | ||
<MenuItems> | ||
<MenuItem id="menu1"> | ||
<Name>Log Entire Database</Name> | ||
<CallbackMethod>traverseDatabase</CallbackMethod> | ||
</MenuItem> | ||
<MenuItem id="menu3"> | ||
<Name>Log Devices</Name> | ||
<CallbackMethod>traverseDevices</CallbackMethod> | ||
</MenuItem> | ||
<MenuItem id="menu4"> | ||
<Name>Log Triggers</Name> | ||
<CallbackMethod>traverseTriggers</CallbackMethod> | ||
</MenuItem> | ||
<MenuItem id="menu5"> | ||
<Name>Log Schedules</Name> | ||
<CallbackMethod>traverseSchedules</CallbackMethod> | ||
</MenuItem> | ||
<MenuItem id="menu6"> | ||
<Name>Log Action Groups</Name> | ||
<CallbackMethod>traverseActionGroups</CallbackMethod> | ||
</MenuItem> | ||
<MenuItem id="menu7"> | ||
<Name>Log Control Pages</Name> | ||
<CallbackMethod>traverseControlPages</CallbackMethod> | ||
</MenuItem> | ||
<MenuItem id="menu8"> | ||
<Name>Log Variables</Name> | ||
<CallbackMethod>traverseVariables</CallbackMethod> | ||
</MenuItem> | ||
<MenuItem id="menu1"> | ||
<Name>Log Entire Database</Name> | ||
<CallbackMethod>traverse_database</CallbackMethod> | ||
</MenuItem> | ||
<MenuItem id="menu3"> | ||
<Name>Log Devices</Name> | ||
<CallbackMethod>traverse_devices</CallbackMethod> | ||
</MenuItem> | ||
<MenuItem id="menu4"> | ||
<Name>Log Triggers</Name> | ||
<CallbackMethod>traverse_triggers</CallbackMethod> | ||
</MenuItem> | ||
<MenuItem id="menu5"> | ||
<Name>Log Schedules</Name> | ||
<CallbackMethod>traverse_schedules</CallbackMethod> | ||
</MenuItem> | ||
<MenuItem id="menu6"> | ||
<Name>Log Action Groups</Name> | ||
<CallbackMethod>traverse_action_groups</CallbackMethod> | ||
</MenuItem> | ||
<MenuItem id="menu7"> | ||
<Name>Log Control Pages</Name> | ||
<CallbackMethod>traverse_control_pages</CallbackMethod> | ||
</MenuItem> | ||
<MenuItem id="menu8"> | ||
<Name>Log Variables</Name> | ||
<CallbackMethod>traverse_variables</CallbackMethod> | ||
</MenuItem> | ||
</MenuItems> |
Oops, something went wrong.