]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/prtview/prtview.h
Wean off #define
[xonotic/netradiant.git] / contrib / prtview / prtview.h
index f1c53d6f24a8ab6621b3ddb832052e63ca13c37b..6b0487826aff3b6b7834b80e9c5488c3e3c21d23 100644 (file)
    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( const char *key, int def );
+void INISetInt( const char *key, int val, const char *comment = 0 );
+
+const int IDOK                = 1;
+const int IDCANCEL            = 2;
+
+
+#endif