CFx SDK Documentation  2020SP3
FxApplications.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2005-2020 by Graebert GmbH.
3 //
4 // Permission to use, copy, modify, and distribute this software in
5 // object code form for any purpose and without fee is hereby granted,
6 // provided that the above copyright notice appears in all copies and
7 // that both that copyright notice and the limited warranty and
8 // restricted rights notice below appear in all supporting
9 // documentation.
10 //
11 // GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12 // GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13 // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14 // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15 // UNINTERRUPTED OR ERROR FREE.
16 
17 #pragma once
18 
19 #include "DDKERNEL.h"
20 
21 #include "FxPragmaPush.h"
22 
23 class CFxString;
24 class CFxDocument;
25 
26 #include <vector>
27 
28 class CFxAppInfo;
29 typedef std::vector<CFxAppInfo*> APP_VECTOR;
30 
37 {
38 public:
39  /* {secret} */
41  /* {secret} */
42  virtual ~CFxApplications(void);
43 
47  virtual void GetStartupSuite(APP_VECTOR& vector) = 0;
48 
55  virtual void GetApplicationsByDocument(CFxDocument* pDoc, APP_VECTOR& vector) = 0;
56 
62  virtual void GetExtendedApiModules(APP_VECTOR& vector) = 0;
63 
70  virtual CFxAppInfo* LoadApplication( CFxDocument* pDoc, const CFxString& lpApplication) = 0;
71 
78  virtual bool UnloadApplication( CFxDocument* pDoc, const CFxString& lpApplication ) = 0;
79 
85  virtual CFxAppInfo* FindApplication( const CFxString& lpApplication ) = 0;
86 
87 
91  virtual int GetAppCount() const = 0;
92 
98  virtual CFxAppInfo* GetAppInfo(int loadOrder) const = 0;
99 
104  //virtual void RemoveAll( int loadReasons ) = 0;
105 
109  virtual CFxString FormatsFilterString( ) const = 0;
110 
114  virtual CFxString DefaultFormat( ) const = 0;
115 
121  virtual CFxString FileDescription( const CFxString & lpFilename ) const = 0;
122 
128  virtual CFxAppInfo* CreateAppInfo(const CFxString& lpApplication) = 0;
129 };
130 
131 #include "FxPragmaPop.h"
FxPragmaPop.h
CFxApplications::FileDescription
virtual CFxString FileDescription(const CFxString &lpFilename) const =0
CFxApplications::GetStartupSuite
virtual void GetStartupSuite(APP_VECTOR &vector)=0
CFxApplications::FormatsFilterString
virtual CFxString FormatsFilterString() const =0
APP_VECTOR
std::vector< CFxAppInfo * > APP_VECTOR
Definition: FxApplications.h:28
CFxApplications::DefaultFormat
virtual CFxString DefaultFormat() const =0
CFxAppInfo
Definition: FxAppInfo.h:34
CFxApplications::GetAppCount
virtual int GetAppCount() const =0
CFxApplications::GetApplicationsByDocument
virtual void GetApplicationsByDocument(CFxDocument *pDoc, APP_VECTOR &vector)=0
DDKERNEL.h
CFxApplications::GetExtendedApiModules
virtual void GetExtendedApiModules(APP_VECTOR &vector)=0
CFxApplications::FindApplication
virtual CFxAppInfo * FindApplication(const CFxString &lpApplication)=0
CFxApplications::LoadApplication
virtual CFxAppInfo * LoadApplication(CFxDocument *pDoc, const CFxString &lpApplication)=0
CFxString
Definition: FxString.h:48
CFxDocument
Definition: FxDocument.h:47
DDKERNEL_API
#define DDKERNEL_API
Definition: DDKERNEL.h:32
CFxApplications::~CFxApplications
virtual ~CFxApplications(void)
CFxApplications::GetAppInfo
virtual CFxAppInfo * GetAppInfo(int loadOrder) const =0
CFxApplications::CreateAppInfo
virtual CFxAppInfo * CreateAppInfo(const CFxString &lpApplication)=0
CFxApplications::UnloadApplication
virtual bool UnloadApplication(CFxDocument *pDoc, const CFxString &lpApplication)=0
CFxApplications::CFxApplications
CFxApplications(void)
FxPragmaPush.h
CFxApplications
Definition: FxApplications.h:37