Itasca C++ Interface
Loading...
Searching...
No Matches
iident.h
Go to the documentation of this file.
1#pragma once
2
3#include "base/src/baseqt.h"
4
11namespace itasca {
14 class IIdent {
15 public:
17 enum class CodeType {
18 Release=0,
19 Alpha=1,
20 Beta=2,
21 PreRelease=3,
24 };
25
28 virtual IString getDefaultFileName() const=0;
29
31 virtual IString getVersionString() const=0;
32
34 virtual IString getRegistryString() const=0;
35
37 virtual IString getBranch() const=0;
38
40 //virtual QString getExtensionPrefix() const=0;
41
43 virtual CodeType getCodeType() const=0;
44
46 virtual uint32 getCodeVersion() const=0;
47 };
48} // namespace itasca
49// EoF
All default base headers if Qt is being used.
Definition istring.h:14
Central class for information identifying the particular program using the kernel library.
Definition iident.h:14
virtual uint32 getCodeVersion() const =0
Returns the current code major version number - like 500 for version 5.00.
virtual CodeType getCodeType() const =0
For instance, the '3dec' in the extension '3decsav'.
CodeType
Possible code types.
Definition iident.h:17
virtual IString getRegistryString() const =0
QString to place persistant storage under. "flac3d400".
virtual IString getVersionString() const =0
Returns a text string with full version information. Like "3.10 Beta 453".
virtual IString getDefaultFileName() const =0
virtual IString getBranch() const =0
This returns a string identifying what branch this code is under, if any.
namespace Itasca
Definition basememory.cpp:10