diff options
author | <robert.mcqueen@collabora.co.uk> | 2007-04-13 14:07:04 +0000 |
---|---|---|
committer | <robert.mcqueen@collabora.co.uk> | 2007-04-13 14:07:04 +0000 |
commit | 6190db232809a9429e60daa2fb41f2061efcffae (patch) | |
tree | a567aec7413b05d4a16ceb398869ed2b4a84776f | |
parent | e92f39eb0c6b0519c6a6abf71d7493c134dc7209 (diff) |
Add type attribute to enums and flags (thanks to Alp Toker <alp@atoker.com>)
-rw-r--r-- | spec/Channel_Interface_Chat_State.xml | 2 | ||||
-rw-r--r-- | spec/Channel_Interface_Group.xml | 4 | ||||
-rw-r--r-- | spec/Channel_Interface_Hold.xml | 2 | ||||
-rw-r--r-- | spec/Channel_Interface_Password.xml | 2 | ||||
-rw-r--r-- | spec/Channel_Type_Contact_Search.xml | 2 | ||||
-rw-r--r-- | spec/Channel_Type_Streamed_Media.xml | 10 | ||||
-rw-r--r-- | spec/Channel_Type_Text.xml | 6 | ||||
-rw-r--r-- | spec/Connection.xml | 6 | ||||
-rw-r--r-- | spec/Connection_Interface_Aliasing.xml | 2 | ||||
-rw-r--r-- | spec/Connection_Interface_Capabilities.xml | 2 | ||||
-rw-r--r-- | spec/Connection_Interface_Presence.xml | 2 | ||||
-rw-r--r-- | spec/Connection_Manager.xml | 2 | ||||
-rw-r--r-- | spec/Media_Stream_Handler.xml | 6 | ||||
-rw-r--r-- | spec/Properties_Interface.xml | 2 |
14 files changed, 25 insertions, 25 deletions
diff --git a/spec/Channel_Interface_Chat_State.xml b/spec/Channel_Interface_Chat_State.xml index 5cbaeb01..6bd5529a 100644 --- a/spec/Channel_Interface_Chat_State.xml +++ b/spec/Channel_Interface_Chat_State.xml @@ -50,7 +50,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ This includes local state. </tp:docstring> </signal> - <tp:enum name="Channel_Chat_State"> + <tp:enum name="Channel_Chat_State" type="u"> <tp:enumvalue suffix="Gone" value="0"> <tp:docstring> The contact has effectively ceased participating in the chat. diff --git a/spec/Channel_Interface_Group.xml b/spec/Channel_Interface_Group.xml index 8263da12..cda20c19 100644 --- a/spec/Channel_Interface_Group.xml +++ b/spec/Channel_Interface_Group.xml @@ -76,7 +76,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ <tp:error name="org.freedesktop.Telepathy.Error.NetworkError"/> </tp:possible-errors> </method> - <tp:flags name="Channel_Group_Flags" value-prefix="Channel_Group_Flag"> + <tp:flags name="Channel_Group_Flags" value-prefix="Channel_Group_Flag" type="u"> <tp:flag suffix="Can_Add" value="1"> <tp:docstring> The AddMembers method can be used to add or invite members who are @@ -296,7 +296,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ The user interface should be updated as appropriate. </tp:docstring> </signal> - <tp:enum name="Channel_Group_Change_Reason"> + <tp:enum name="Channel_Group_Change_Reason" type="u"> <tp:enumvalue suffix="None" value="0"> <tp:docstring> No reason was provided for this change. diff --git a/spec/Channel_Interface_Hold.xml b/spec/Channel_Interface_Hold.xml index d865e610..c7616476 100644 --- a/spec/Channel_Interface_Hold.xml +++ b/spec/Channel_Interface_Hold.xml @@ -18,7 +18,7 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. </tp:license> - <tp:enum name="Channel_Hold_State"> + <tp:enum name="Channel_Hold_State" type="u"> <tp:enumvalue suffix="None" value="0"> <tp:docstring> Neither the local user and the remote member are on hold, and media diff --git a/spec/Channel_Interface_Password.xml b/spec/Channel_Interface_Password.xml index 93fbb57b..20aa55e1 100644 --- a/spec/Channel_Interface_Password.xml +++ b/spec/Channel_Interface_Password.xml @@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. </tp:license> <interface name="org.freedesktop.Telepathy.Channel.Interface.Password"> <tp:requires interface="org.freedesktop.Telepathy.Channel"/> - <tp:flags name="Channel_Password_Flags" value-prefix="Channel_Password_Flag"> + <tp:flags name="Channel_Password_Flags" value-prefix="Channel_Password_Flag" type="u"> <tp:flag suffix="Provide" value="8"> <tp:docstring> The ProvidePassword method must be called now for the user to join diff --git a/spec/Channel_Type_Contact_Search.xml b/spec/Channel_Type_Contact_Search.xml index 4fe78440..36b55202 100644 --- a/spec/Channel_Type_Contact_Search.xml +++ b/spec/Channel_Type_Contact_Search.xml @@ -53,7 +53,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ <tp:error name="org.freedesktop.Telepathy.Error.NotAvailable"/> </tp:possible-errors> </method> - <tp:enum name="Channel_Contact_Search_State"> + <tp:enum name="Channel_Contact_Search_State" type="u"> <tp:enumvalue suffix="Before" value="0"> <tp:docstring>The search has not started</tp:docstring> </tp:enumvalue> diff --git a/spec/Channel_Type_Streamed_Media.xml b/spec/Channel_Type_Streamed_Media.xml index 473002fb..b51f90c7 100644 --- a/spec/Channel_Type_Streamed_Media.xml +++ b/spec/Channel_Type_Streamed_Media.xml @@ -20,7 +20,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ </tp:license> <interface name="org.freedesktop.Telepathy.Channel.Type.StreamedMedia"> <tp:requires interface="org.freedesktop.Telepathy.Channel"/> - <tp:enum name="Media_Stream_Type"> + <tp:enum name="Media_Stream_Type" type="u"> <tp:enumvalue suffix="Audio" value="0"> <tp:docstring>An audio stream</tp:docstring> </tp:enumvalue> @@ -28,7 +28,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ <tp:docstring>A video stream</tp:docstring> </tp:enumvalue> </tp:enum> - <tp:enum name="Media_Stream_State"> + <tp:enum name="Media_Stream_State" type="u"> <tp:enumvalue suffix="Disconnected" value="0"> <tp:docstring>The stream is disconnected.</tp:docstring> </tp:enumvalue> @@ -39,7 +39,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ <tp:docstring>The stream is connected.</tp:docstring> </tp:enumvalue> </tp:enum> - <tp:enum name="Media_Stream_Direction"> + <tp:enum name="Media_Stream_Direction" type="u"> <tp:enumvalue suffix="None" value="0"> <tp:docstring>Media are not being sent or received</tp:docstring> </tp:enumvalue> @@ -53,7 +53,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ <tp:docstring>Media are being sent and received</tp:docstring> </tp:enumvalue> </tp:enum> - <tp:flags name="Media_Stream_Pending_Send" value-prefix="Media_Stream_Pending"> + <tp:flags name="Media_Stream_Pending_Send" value-prefix="Media_Stream_Pending" type="u"> <tp:flag suffix="Local_Send" value="1"> <tp:docstring> The local user has been asked to send media by the remote user. @@ -291,7 +291,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ connection manager), the signalling interface can be omitted and this channel type used simply to control the streams.</p> </tp:docstring> - <tp:flags name="Channel_Media_Capabilities" value-prefix="Channel_Media_Capability"> + <tp:flags name="Channel_Media_Capabilities" value-prefix="Channel_Media_Capability" type="u"> <tp:docstring> The channel-type-specific capability flags used for Channel.Type.StreamedMedia in the Connection.Interface.Capabilities diff --git a/spec/Channel_Type_Text.xml b/spec/Channel_Type_Text.xml index 76fe953d..ac42e8f0 100644 --- a/spec/Channel_Type_Text.xml +++ b/spec/Channel_Type_Text.xml @@ -141,7 +141,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ <tp:error name="org.freedesktop.Telepathy.Error.PermissionDenied"/> </tp:possible-errors> </method> - <tp:enum name="Channel_Text_Send_Error"> + <tp:enum name="Channel_Text_Send_Error" type="u"> <tp:enumvalue suffix="Unknown" value="0"> <tp:docstring> An unknown error occurred @@ -221,7 +221,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ Signals that a message has been sent on this channel. </tp:docstring> </signal> - <tp:enum name="Channel_Text_Message_Type"> + <tp:enum name="Channel_Text_Message_Type" type="u"> <tp:enumvalue suffix="Normal" value="0"> <tp:docstring> A standard message @@ -244,7 +244,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ </tp:docstring> </tp:enumvalue> </tp:enum> - <tp:flags name="Channel_Text_Message_Flags" value-prefix="Channel_Text_Message_Flag"> + <tp:flags name="Channel_Text_Message_Flags" value-prefix="Channel_Text_Message_Flag" type="u"> <tp:flag suffix="Truncated" value="1"> <tp:docstring> The incoming message was truncated to a shorter length by the diff --git a/spec/Connection.xml b/spec/Connection.xml index e46e185e..03db04af 100644 --- a/spec/Connection.xml +++ b/spec/Connection.xml @@ -312,7 +312,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ <tp:error name="org.freedesktop.Telepathy.Error.Channel.InviteOnly"/> </tp:possible-errors> </method> - <tp:enum name="Handle_Type"> + <tp:enum name="Handle_Type" type="u"> <tp:enumvalue suffix="None" value="0"> <tp:docstring> A "null" handle type used to indicate the absence of a handle. @@ -377,7 +377,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ </tp:error> </tp:possible-errors> </method> - <tp:enum name="Connection_Status"> + <tp:enum name="Connection_Status" type="u"> <tp:enumvalue suffix="Connected" value="0"> <tp:docstring> The connection is alive and all methods are available. @@ -397,7 +397,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ </tp:docstring> </tp:enumvalue> </tp:enum> - <tp:enum name="Connection_Status_Reason"> + <tp:enum name="Connection_Status_Reason" type="u"> <tp:enumvalue suffix="None_Specified" value="0"> <tp:docstring> There is no reason set for this state change. diff --git a/spec/Connection_Interface_Aliasing.xml b/spec/Connection_Interface_Aliasing.xml index 0cd0b9b4..6afd9ea3 100644 --- a/spec/Connection_Interface_Aliasing.xml +++ b/spec/Connection_Interface_Aliasing.xml @@ -34,7 +34,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ Signal emitted when a contact's alias (or that of the user) is changed. </tp:docstring> </signal> - <tp:flags name="Connection_Alias_Flags" value-prefix="Connection_Alias_Flag"> + <tp:flags name="Connection_Alias_Flags" value-prefix="Connection_Alias_Flag" type="u"> <tp:flag suffix="User_Set" value="1"> <tp:docstring> The aliases of contacts on this connection are specified by the user diff --git a/spec/Connection_Interface_Capabilities.xml b/spec/Connection_Interface_Capabilities.xml index c40b61cb..58798362 100644 --- a/spec/Connection_Interface_Capabilities.xml +++ b/spec/Connection_Interface_Capabilities.xml @@ -145,7 +145,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ implemented by available client processes.</p> </tp:docstring> </interface> - <tp:flags name="Connection_Capability_Flags" value-prefix="Connection_Capability_Flag"> + <tp:flags name="Connection_Capability_Flags" value-prefix="Connection_Capability_Flag" type="u"> <tp:flag suffix="Create" value="1"> <tp:docstring> The given channel type and handle can be given to RequestChannel to diff --git a/spec/Connection_Interface_Presence.xml b/spec/Connection_Interface_Presence.xml index 702e3f72..e27a4202 100644 --- a/spec/Connection_Interface_Presence.xml +++ b/spec/Connection_Interface_Presence.xml @@ -276,7 +276,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ succeeds, a client may poll the server intermittently to update any display of presence information.</p> </tp:docstring> - <tp:enum name="Connection_Presence_Type"> + <tp:enum name="Connection_Presence_Type" type="u"> <tp:enumvalue suffix="Unset" value="0"> <tp:docstring> An invalid presence type used as a null value diff --git a/spec/Connection_Manager.xml b/spec/Connection_Manager.xml index 259e00d2..c25f27b9 100644 --- a/spec/Connection_Manager.xml +++ b/spec/Connection_Manager.xml @@ -19,7 +19,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</p> </tp:license> <interface name="org.freedesktop.Telepathy.ConnectionManager"> - <tp:flags name="Conn_Mgr_Param_Flags" value-prefix="Conn_Mgr_Param_Flag"> + <tp:flags name="Conn_Mgr_Param_Flags" value-prefix="Conn_Mgr_Param_Flag" type="u"> <tp:flag suffix="Required" value="1"> <tp:docstring> This parameter is required for connecting to the server. diff --git a/spec/Media_Stream_Handler.xml b/spec/Media_Stream_Handler.xml index 16670140..c33abc33 100644 --- a/spec/Media_Stream_Handler.xml +++ b/spec/Media_Stream_Handler.xml @@ -65,7 +65,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ the relevant channel, and remove the stream from the session. </tp:docstring> </method> - <tp:enum name="Media_Stream_Error"> + <tp:enum name="Media_Stream_Error" type="u"> <tp:enumvalue suffix="Unknown" value="0"> <tp:docstring> An unknown error occured. @@ -91,7 +91,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ has been discovered and streaming is in progress. </tp:docstring> </method> - <tp:enum name="Media_Stream_Base_Proto"> + <tp:enum name="Media_Stream_Base_Proto" type="u"> <tp:enumvalue suffix="UDP" value="0"> <tp:docstring>UDP (User Datagram Protocol)</tp:docstring> </tp:enumvalue> @@ -128,7 +128,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ has been ascertained. </tp:docstring> </method> - <tp:enum name="Media_Stream_Transport_Type"> + <tp:enum name="Media_Stream_Transport_Type" type="u"> <tp:enumvalue suffix="Local" value="0"> <tp:docstring> A local address diff --git a/spec/Properties_Interface.xml b/spec/Properties_Interface.xml index 27ce51bb..7b6cc070 100644 --- a/spec/Properties_Interface.xml +++ b/spec/Properties_Interface.xml @@ -129,7 +129,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ <p>Each property also has a flags value to indicate what methods are available. This is a bitwise OR of PropertyFlags values.</p> </tp:docstring> - <tp:flags name="Property_Flags" value-prefix="Property_Flag"> + <tp:flags name="Property_Flags" value-prefix="Property_Flag" type="u"> <tp:flag suffix="Read" value="1"> <tp:docstring>The property can be read</tp:docstring> </tp:flag> |