GME  13
CurrentProject.h
Go to the documentation of this file.
00001 // CurrentProject.h: interface for the CCurrentProject class.
00002 //
00004 
00005 #if !defined(AFX_CURRENTPROJECT_H__AFB185BF_306A_4BF6_9D54_4B9F886AD219__INCLUDED_)
00006 #define AFX_CURRENTPROJECT_H__AFB185BF_306A_4BF6_9D54_4B9F886AD219__INCLUDED_
00007 
00008 
00009 #include "MgaContext.h" // Added by ClassView
00010 #if _MSC_VER > 1000
00011 #pragma once
00012 #endif // _MSC_VER > 1000
00013 
00014 
00015 
00016 
00017 enum eCurrentProjectState {CURRENT_PROJECT_OPEN,CURRENT_PROJECT_CLOSED};
00018 class CCurrentProject  
00019 {
00020 public:
00021         eCurrentProjectState GetCurrentProjectState();
00022         void CloseCurrentProject();
00023         short CreateCurrentProject(LPUNKNOWN pMgaProject);
00024         CMgaContext m_MgaContext;
00025         CCurrentProject();
00026         virtual ~CCurrentProject();
00027 
00028 private:
00029         
00030         eCurrentProjectState m_ProjectState;
00031 };
00032 
00033 #endif // !defined(AFX_CURRENTPROJECT_H__AFB185BF_306A_4BF6_9D54_4B9F886AD219__INCLUDED_)