IFileNameParam.h
Go to the documentation of this file.
1 #ifndef ifile_IFileNameParam_included
2 #define ifile_IFileNameParam_included
3 
4 
5 // Qt includes
6 #include <QtCore/QString>
7 
8 // ACF includes
9 #include <iser/ISerializable.h>
10 #include <ifile/ifile.h>
11 
12 
13 namespace ifile
14 {
15 
16 
20 class IFileNameParam: virtual public iser::ISerializable
21 {
22 public:
23  enum PathType
24  {
29  };
30 
35  virtual int GetPathType() const = 0;
36 
40  virtual const QString& GetPath() const = 0;
41 
45  virtual void SetPath(const QString& path) = 0;
46 };
47 
48 
49 } // namespace ifile
50 
51 
52 #endif // !ifile_IFileNameParam_included
53 
54 
virtual int GetPathType() const =0
Get intended type of the path.
Common class for all classes which objects can be archived or restored from archive.
Definition: ISerializable.h:23
virtual const QString & GetPath() const =0
Get path.
Common interface for any file system item name (e.g directory, file or URL path)
virtual void SetPath(const QString &path)=0
Set path.

© 2007-2017 Witold Gantzke and Kirill Lepskiy