CFx SDK Documentation  2022 SP0
FxApplications.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2005-2021 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"
#define DDKERNEL_API
Definition: DDKERNEL.h:32
std::vector< CFxAppInfo * > APP_VECTOR
virtual bool UnloadApplication(CFxDocument *pDoc, const CFxString &lpApplication)=0
virtual CFxString DefaultFormat() const =0
virtual ~CFxApplications(void)
virtual CFxAppInfo * LoadApplication(CFxDocument *pDoc, const CFxString &lpApplication)=0
virtual void GetStartupSuite(APP_VECTOR &vector)=0
virtual CFxAppInfo * GetAppInfo(int loadOrder) const =0
virtual CFxString FileDescription(const CFxString &lpFilename) const =0
virtual CFxAppInfo * FindApplication(const CFxString &lpApplication)=0
virtual CFxString FormatsFilterString() const =0
virtual void GetExtendedApiModules(APP_VECTOR &vector)=0
virtual int GetAppCount() const =0
virtual void GetApplicationsByDocument(CFxDocument *pDoc, APP_VECTOR &vector)=0
virtual CFxAppInfo * CreateAppInfo(const CFxString &lpApplication)=0