#pragma once

#include "CommonClasses.h"
#include "apl_api.h"

extern HINSTANCE _hDllInstance;

//Объявления функций
__declspec (dllexport) bool GetFunctionsList(CArray<CaplItemInfo*, CaplItemInfo*> *strArray);
__declspec (dllexport) bool add_ShowGantt(CaplAPI* api, aplExtent& inExtent, bool bUpdateUI);
__declspec (dllexport) bool add_ShowFolderProjects(CaplAPI* data, aplExtent& inExtent, bool bUpdateUI);
__declspec (dllexport) bool add_ShowAllProjects(CaplAPI* api, aplExtent& inExtent, bool bUpdateUI);
__declspec (dllexport) bool add_ShowGant4CurProjectsState(CaplAPI* api, aplExtent& inExtent, bool bUpdateUI);
__declspec (dllexport) bool add_ShowGant4CurOwner(CaplAPI* api, aplExtent& inExtent, bool bUpdateUI);
__declspec (dllexport) bool add_ShowGant4CurKurator(CaplAPI* api, aplExtent& inExtent, bool bUpdateUI);
__declspec (dllexport) bool add_ShowGant4CurExecutor(CaplAPI* api, aplExtent& inExtent, bool bUpdateUI);
__declspec (dllexport) bool add_ShowProjectsState(CaplAPI* api, aplExtent& inExtent, bool bUpdateUI);
__declspec (dllexport) bool add_ShowAllProjectsState(CaplAPI* api, aplExtent& inExtent, bool bUpdateUI);
__declspec (dllexport) bool add_ShowAllCurProjectsState(CaplAPI* api, aplExtent& inExtent, bool bUpdateUI);
__declspec (dllexport) bool add_ShowCurKuratorProjectsState(CaplAPI* api, aplExtent& inExtent, bool bUpdateUI);
__declspec (dllexport) bool add_ShowCurOwnerProjectsState(CaplAPI* api, aplExtent& inExtent, bool bUpdateUI);
__declspec (dllexport) bool add_ShowCurExecutorProjectsState(CaplAPI* api, aplExtent& inExtent, bool bUpdateUI);
__declspec (dllexport) bool add_ShowProjectContentState(CaplAPI* api, aplExtent& inExtent, bool bUpdateUI);

__declspec (dllexport) bool add_CertCreateProject(CaplAPI* api, aplExtent& inExtent, bool bUpdateUI);


