Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayX.h
Go to the documentation of this file.
1 //
4 //
5 
6 #ifndef _INC_GrayX_H
7 #define _INC_GrayX_H
8 #ifndef NO_PRAGMA_ONCE
9 #pragma once
10 #endif
11 
14 
15 namespace GrayX
16 {
17  using namespace Gray;
18  using namespace GrayLib;
19 
20  class GrayXRoot : public cXObjDef
21  {
23  public:
26 
27  public:
28  GrayXRoot();
29  ~GrayXRoot();
30 
31  static void GRAYCALL DoCmdWait();
32 
34  {
36  if (!m_sArgDir.IsEmpty())
37  return m_sArgDir;
39  }
40  };
41 
42  class GrayXCmd
43  {
45  public:
46  virtual HRESULT DoCmd(const FILECHAR_t* pszArgs) = 0;
47  };
48 }
49 
50 #endif
51 
#define GRAYCALL
declare calling convention for static functions so everyone knows the arg passing scheme....
Definition: GrayCore.h:36
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
Definition: cXObjDef.h:17
Definition: GrayX.h:43
virtual HRESULT DoCmd(const FILECHAR_t *pszArgs)=0
Definition: GrayX.h:21
bool m_bArgRecurse
children file as well ?
Definition: GrayX.h:25
cStringF get_ArgDir() const
Definition: GrayX.h:33
cStringF m_sArgDir
what directory to perform in ?
Definition: GrayX.h:24
bool IsEmpty() const noexcept
Definition: cString.h:176
static cStringF __stdcall get_CurrentDir()
For the process. Not applicable to WINCE.
Definition: cAppState.cpp:460
Definition: cMesh.h:22
Definition: GrayX.cpp:52
< The main namespace for all Core functions.
Definition: GrayCore.cpp:14
char FILECHAR_t
a UTF8 char in a file name. like TCHAR
Definition: FileName.h:22