]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/prtview/prtview.h
- Disabled useless "deprecated" warnings when using stdc functions
[xonotic/netradiant.git] / contrib / prtview / prtview.h
index 468df3fc30481f61ffda4d8ff442498054bbb916..472b028af9e77aa01a6605c738ae352bdc61a210 100644 (file)
@@ -17,13 +17,19 @@ License along with this library; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
 
-// PrtView.h : main header file for the PRTVIEW DLL
-//
+#if !defined(INCLUDED_PRTVIEW_H)
+#define INCLUDED_PRTVIEW_H
 
-#if !defined(AFX_PRTVIEW_H__234356A6_1D66_11D4_BFEB_204C4F4F5020__INCLUDED_)
-#define AFX_PRTVIEW_H__234356A6_1D66_11D4_BFEB_204C4F4F5020__INCLUDED_
+#define MSG_PREFIX "Portal Viewer plugin: "
 
 void InitInstance ();
 void SaveConfig ();
 
-#endif // !defined(AFX_PRTVIEW_H__234356A6_1D66_11D4_BFEB_204C4F4F5020__INCLUDED_)
+int INIGetInt(char *key, int def);
+void INISetInt(char *key, int val, char *comment = 0);
+
+#define IDOK                1
+#define IDCANCEL            2
+
+
+#endif