ngIMpris.idl
Go to the documentation of this file.
1 /*
2 //
3 // BEGIN NIGHTINGALE GPL
4 //
5 // This file is part of the Nightingale web player.
6 //
7 // http://getnightingale.com
8 //
9 // This file may be licensed under the terms of of the
10 // GNU General Public License Version 2 (the "GPL").
11 //
12 // Software distributed under the License is distributed
13 // on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
14 // express or implied. See the GPL for the specific language
15 // governing rights and limitations.
16 //
17 // You should have received a copy of the GPL along with this
18 // program. If not, go to http://www.gnu.org/licenses/gpl.html
19 // or write to the Free Software Foundation, Inc.,
20 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 //
22 // END NIGHTINGALE GPL
23 //
24 */
25 
26 /*
27  * Written by Logan F. Smyth Š 2009
28  * http://logansmyth.com
29  * me@logansmyth.com
30  */
31 
32 #include "nsISupports.idl"
33 
34 interface nsIArray;
35 
36 [scriptable, uuid(bc3f9c62-9a5f-47e8-a00f-49d80f3bb6c9)]
38 {
39  void handleMethod(in string interface_name, in string path, in string member);
40 };
41 
42 
43 [scriptable, uuid(a8159f8d-7970-40d0-bd08-8d0adf69e435)]
45 {
46  void initialize();
47  void uninit();
48 };
49 
50 
51 [scriptable, uuid(4c809340-0f6f-4122-b242-d4e900bed92b)]
53 {
54 
55  const unsigned short TYPE_STRING = 0;
56  const unsigned short TYPE_OBJECT_PATH = 1;
57 
58  void init(in string aName);
59  void setMatch(in string match);
60  long end();
61 
62  void prepareMethodCall(in string dest, in string path, in string inter, in string name);
63  void sendMethodCall();
64 
65  void prepareSignal(in string path, in string inter, in string name);
66  void sendSignal();
67 
69 
70  PRInt64 getInt64Arg();
71  boolean getBoolArg();
72  string getStringArg();
73  string getObjectPathArg();
74  double getDoubleArg();
75  nsIArray getArrayArg();
76 
77  void setUInt32Arg(in unsigned long val);
78  void setInt32Arg(in long val);
79  void setUInt16Arg(in unsigned short val);
80  void setStringArg(in AString val);
81 // void setStringArg(in AString val);
82  void setDictSSEntryArg(in string key, in AString val);
83  void setDictSOEntryArg(in string key, in AString val);
84  void setDictSIEntryArg(in string key, in unsigned long val);
85  void setDictSI64EntryArg(in string key, in PRInt64 val);
86  void setDictSBEntryArg(in string key, in boolean val);
87  void setDictSDEntryArg(in string key, in double val);
88  void openDictSAEntryArg(in string key, [optional] in short aType);
89  void closeDictSAEntryArg();
90  void openDictSDEntryArg(in string key);
91  void closeDictSDEntryArg();
92  void setBoolArg(in boolean val);
93  void setDoubleArg(in double val);
94  void setArrayStringArg(in AString val);
95  void setInt64Arg(in PRInt64 val);
96  void setObjectPathArg(in string val);
97 
98  void openDictEntryArray();
99  void closeDictEntryArray();
100 
101  void openArray([optional] in short aType);
102  void closeArray();
103 
104  void openStruct();
105  void closeStruct();
106 };
void init(in string aName)
void setDoubleArg(in double val)
void setDictSI64EntryArg(in string key, in PRInt64 val)
void setDictSBEntryArg(in string key, in boolean val)
void closeDictSDEntryArg()
void prepareMethodCall(in string dest, in string path, in string inter, in string name)
void openArray([optional] in short aType)
boolean getBoolArg()
void setDictSIEntryArg(in string key, in unsigned long val)
void setDictSOEntryArg(in string key, in AString val)
const unsigned short TYPE_OBJECT_PATH
Definition: ngIMpris.idl:56
void setMatch(in string match)
const unsigned short TYPE_STRING
Definition: ngIMpris.idl:55
void setDictSSEntryArg(in string key, in AString val)
var uuid
void setDictSDEntryArg(in string key, in double val)
string getObjectPathArg()
void setStringArg(in AString val)
string getStringArg()
nsIArray getArrayArg()
void openDictSAEntryArg(in string key, [optional] in short aType)
void setUInt32Arg(in unsigned long val)
void setArrayStringArg(in AString val)
PRInt64 getInt64Arg()
void openDictEntryArray()
this _dialogInput val(dateText)
void openDictSDEntryArg(in string key)
void closeDictSAEntryArg()
void setBoolArg(in boolean val)
ExtensionSchemeMatcher prototype match
void setObjectPathArg(in string val)
double getDoubleArg()
void prepareSignal(in string path, in string inter, in string name)
_updateCookies aName
void setUInt16Arg(in unsigned short val)
void setInt64Arg(in PRInt64 val)
void setMethodHandler(in ngIMethodHandler handler)
void closeDictEntryArray()
GstMessage gpointer data sbGStreamerMessageHandler * handler
void handleMethod(in string interface_name, in string path, in string member)
void setInt32Arg(in long val)