summary refs log tree commit diff stats
path: root/src/common/plugin.h
AgeCommit message (Expand)Author
2012-01-15refactor plugin config API and add skeleton for xchat_pluginpref_listBerke Viktor
2012-01-14skeleton for xchat_del_pluginprefBerke Viktor
2011-12-01plugin api conformanceBerke Viktor
2011-11-30refactoringBerke Viktor
2011-11-30plugin config - separate string and int functionsBerke Viktor
2011-11-29initial plugin config framework, can't save multiple entriesBerke Viktor
2011-02-24add xchat r1489berkeviktor@aol.com
/a> 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
<?xml version="1.0" encoding="UTF-8" ?>

<node name="/">

  <interface name="org.hexchat.connection">
    <method name="Connect">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg type="s" name="filename" direction="in"/>
      <arg type="s" name="name" direction="in"/>
      <arg type="s" name="desc" direction="in"/>
      <arg type="s" name="version" direction="in"/>
      <arg type="s" name="path" direction="out"/>
    </method>  
    <method name="Disconnect">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
    </method>
  </interface>

  <interface name="org.hexchat.plugin">
    <method name="Command">
      <arg type="s" name="command" direction="in"/>
    </method>
    <method name="Print">
      <arg type="s" name="text" direction="in"/>
    </method>
    <method name="FindContext">
      <arg type="s" name="server" direction="in"/>
      <arg type="s" name="channel" direction="in"/>
      <arg type="u" name="ret_id" direction="out"/>
    </method>
    <method name="GetContext">
      <arg type="u" name="ret_id" direction="out"/>
    </method>
    <method name="SetContext">
      <arg type="u" name="id" direction="in"/>
      <arg type="b" name="ret" direction="out"/>
    </method>
    <method name="GetInfo">
      <arg type="s" name="id" direction="in"/>
      <arg type="s" name="ret_info" direction="out"/>
    </method>
    <method name="GetPrefs">
      <arg type="s" name="name" direction="in"/>
      <arg type="i" name="ret_type" direction="out"/>
      <arg type="s" name="ret_str" direction="out"/>
      <arg type="i" name="ret_int" direction="out"/>
    </method>
    <method name="HookCommand">
      <arg type="s" name="name" direction="in"/>
      <arg type="i" name="priority" direction="in"/>
      <arg type="s" name="help_text" direction="in"/>
      <arg type="i" name="return_value" direction="in"/>
      <arg type="u" name="ret_id" direction="out"/>
    </method>
    <method name="HookServer">
      <arg type="s" name="name" direction="in"/>
      <arg type="i" name="priority" direction="in"/>
      <arg type="i" name="return_value" direction="in"/>
      <arg type="u" name="ret_id" direction="out"/>
    </method>
    <method name="HookPrint">
      <arg type="s" name="name" direction="in"/>
      <arg type="i" name="priority" direction="in"/>
      <arg type="i" name="return_value" direction="in"/>
      <arg type="u" name="ret_id" direction="out"/>
    </method>
    <method name="Unhook">
      <arg type="u" name="id" direction="in"/>
    </method>
    <method name="ListGet">
      <arg type="s" name="name" direction="in"/>
      <arg type="u" name="ret_id" direction="out"/>
    </method>
    <method name="ListNext">
      <arg type="u" name="id" direction="in"/>
      <arg type="b" name="ret" direction="out"/>
    </method>
    <method name="ListStr">
      <arg type="u" name="id" direction="in"/>
      <arg type="s" name="name" direction="in"/>
      <arg type="s" name="ret_str" direction="out"/>
    </method>
    <method name="ListInt">
      <arg type="u" name="id" direction="in"/>
      <arg type="s" name="name" direction="in"/>
      <arg type="i" name="ret_int" direction="out"/>
    </method>
    <method name="ListTime">
      <arg type="u" name="id" direction="in"/>
      <arg type="s" name="name" direction="in"/>
      <arg type="t" name="ret_time" direction="out"/>
    </method>
    <method name="ListFields">
      <arg type="s" name="name" direction="in"/>
      <arg type="as" name="ret" direction="out"/>
    </method>
    <method name="ListFree">
      <arg type="u" name="id" direction="in"/>
    </method>
    <method name="EmitPrint">
      <arg type="s" name="event_name" direction="in"/>
      <arg type="as" name="args" direction="in"/>
      <arg type="b" name="ret" direction="out"/>
    </method>
    <method name="Nickcmp">
      <arg type="s" name="nick1" direction="in"/>
      <arg type="s" name="nick2" direction="in"/>
      <arg type="i" name="ret" direction="out"/>
    </method>
    <method name="Strip">
      <arg type="s" name="str" direction="in"/>
      <arg type="i" name="len" direction="in"/>
      <arg type="i" name="flag" direction="in"/>
      <arg type="s" name="ret_str" direction="out"/>
    </method>
    <method name="SendModes">
      <arg type="as" name="targets" direction="in"/>
      <arg type="i" name="modes_per_line" direction="in"/>
      <arg type="y" name="sign" direction="in"/>
      <arg type="y" name="mode" direction="in"/>
    </method>

    <signal name="CommandSignal">
      <arg type="as" name="word"/>
      <arg type="as" name="word_eol"/>
      <arg type="u" name="hook_id"/>
      <arg type="u" name="context_id"/>
    </signal>
    <signal name="ServerSignal">
      <arg type="as" name="word"/>
      <arg type="as" name="word_eol"/>
      <arg type="u" name="hook_id"/>
      <arg type="u" name="context_id"/>
    </signal>
    <signal name="PrintSignal">
      <arg type="as" name="word"/>
      <arg type="u" name="hook_id"/>
      <arg type="u" name="context_id"/>
    </signal>
    <signal name="UnloadSignal"/>
  </interface>
</node>