// sxcon.h : main header file for the SXCON application // #ifndef __AFXWIN_H__ #error include 'stdafx.h' before including this file for PCH #endif #include "resource.h" // main symbols ///////////////////////////////////////////////////////////////////////////// // CSxConApp: // See sxcon.cpp for the implementation of this class // class CSxConApp : public CWinApp { public: CSxConApp(); ~CSxConApp(); void ParseCommandLine(); // command line info # ifdef _DEBUG # define DEBUG_BREAK \ do { \ CSxConApp *app = AfxSxConGetApp(); \ if (app->m_bDoDebugBreaks) \ ::DebugBreak(); \ } while (0) BOOL m_bDoDebugBreaks; # else # define DEBUG_BREAK # endif BOOL m_bShowUI; // bring up a dialog box BOOL m_bStayUp; // stay up until user explicitely quits BOOL m_bSetOpt; // bring up properties before or after UI start BOOL m_bShowAct; // show what is going on with a // particular report (begin/result/progress) int m_eCallMode; // CallMode prop val int m_eDesType; // OuputDestination prop val CString *m_cstrDesName; // OutputName prop CString *m_cstrReport; // report name CString *m_cstrRepSrv; // report server CString *m_cstrUserId; // connect string CString *m_cstrParams; // rest of the command line CString *m_cstrSysUserId; // System Userid connect string // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CSxConApp) public: virtual BOOL InitInstance(); virtual int ExitInstance(); //}}AFX_VIRTUAL // Implementation //{{AFX_MSG(CSxConApp) // NOTE - the ClassWizard will add and remove member functions here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_MSG DECLARE_MESSAGE_MAP() protected: DECLARE_DISPATCH_MAP(); DECLARE_INTERFACE_MAP(); # ifdef R30SXC HINSTANCE m_hResourceDLL; // Handle to the DLL we use for resources BOOL LoadResourceDLL(); // NLS-ing LCID SetOracleLocale(); // NLS-ing # endif }; ///////////////////////////////////////////////////////////////////////////// // Helpers BOOL CheckFileExists(CString filename); CSxConApp *AfxSxConGetApp();