added the Action-menu items that allow the user to adjudicate ongoing games in Two...
[xboard.git] / winboard / wplugin.h
index 100ae1c..2372cbc 100644 (file)
@@ -1,40 +1,62 @@
-#ifndef WPLUGIN_H_
-#define WPLUGIN_H_
-
-#include <windows.h>
-
-#define MaxWbPlugins 16
-
-typedef struct WbPlugin_tag
-{
-    char * name_;
-    char * exe_name_;
-    HANDLE hPipe_;
-    HANDLE hProcess_;
-} WbPlugin;
-
-typedef struct WbPluginList_tag
-{
-    int item_count_;
-    WbPlugin * item_[MaxWbPlugins];
-} WbPluginList;
-
-WbPlugin * wbpCreate( const char * name );
-
-void wbpDelete( WbPlugin * plugin );
-
-int wbpSendMessage( WbPlugin * plugin, const char * msg, size_t msg_len );
-
-int wbpListInit( WbPluginList * list );
-
-int wbpListAdd( WbPluginList * list, WbPlugin * plugin );
-
-WbPlugin * wbpListGet( WbPluginList * list, int index );
-
-int wbpListGetCount( WbPluginList * list );
-
-int wbpListDeleteAll( WbPluginList * list );
-
-int wbpListBroadcastMessage( WbPluginList * list, const char * msg, size_t msg_len );
-
-#endif // WPLUGIN_H_
+/*\r
+ * wplugin.h\r
+ *\r
+ * Copyright 2009 Free Software Foundation, Inc.\r
+ * ------------------------------------------------------------------------\r
+ *\r
+ * GNU XBoard is free software: you can redistribute it and/or modify\r
+ * it under the terms of the GNU General Public License as published by\r
+ * the Free Software Foundation, either version 3 of the License, or (at\r
+ * your option) any later version.\r
+ *\r
+ * GNU XBoard is distributed in the hope that it will be useful, but\r
+ * WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\r
+ * General Public License for more details.\r
+ *\r
+ * You should have received a copy of the GNU General Public License\r
+ * along with this program. If not, see http://www.gnu.org/licenses/.  *\r
+ *\r
+ *------------------------------------------------------------------------\r
+ ** See the file ChangeLog for a revision history.  */\r
+\r
+#ifndef WPLUGIN_H_\r
+#define WPLUGIN_H_\r
+\r
+#include <windows.h>\r
+\r
+#define MaxWbPlugins 16\r
+\r
+typedef struct WbPlugin_tag\r
+{\r
+    char * name_;\r
+    char * exe_name_;\r
+    HANDLE hPipe_;\r
+    HANDLE hProcess_;\r
+} WbPlugin;\r
+\r
+typedef struct WbPluginList_tag\r
+{\r
+    int item_count_;\r
+    WbPlugin * item_[MaxWbPlugins];\r
+} WbPluginList;\r
+\r
+WbPlugin * wbpCreate( const char * name );\r
+\r
+void wbpDelete( WbPlugin * plugin );\r
+\r
+int wbpSendMessage( WbPlugin * plugin, const char * msg, size_t msg_len );\r
+\r
+int wbpListInit( WbPluginList * list );\r
+\r
+int wbpListAdd( WbPluginList * list, WbPlugin * plugin );\r
+\r
+WbPlugin * wbpListGet( WbPluginList * list, int index );\r
+\r
+int wbpListGetCount( WbPluginList * list );\r
+\r
+int wbpListDeleteAll( WbPluginList * list );\r
+\r
+int wbpListBroadcastMessage( WbPluginList * list, const char * msg, size_t msg_len );\r
+\r
+#endif // WPLUGIN_H_\r