OpendTect  6.6
odinst.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Bert
8  Date: Feb 2012
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "basicmod.h"
15 #include "enums.h"
16 
17 class Settings;
18 class BufferStringSet;
19 
22 namespace ODInst
23 {
24  mGlobal(Basic) const char* sKeyHasUpdate();
25  mGlobal(Basic) const char* sKeyHasNoUpdate();
26 
29  mGlobal(Basic) bool canInstall(const char* dirnm);
31  mGlobal(Basic) void startInstManagementWithRelDir(const char*);
32 
33  mGlobal(Basic) bool updatesAvailable();
34  mGlobal(Basic) mDeprecated("Use updatesAvailable") bool runInstMgrForUpdt();
35  mGlobal(Basic) const char* getPkgVersion(const char* file_pkg_basenm);
37  inline bool isErrPkgVersion( const char* s )
38  { return !s || !*s || *s == '['; }
39 
40 
54 
56  mGlobal(Basic) const char* sKeyAutoInst();
58 
61 
62 
63 } // namespace
64 
65 #ifdef __mac__
66 #define mInstallerDirNm "OpendTect Installer.app"
67 #else
68 #define mInstallerDirNm "Installer"
69 #endif
70 
ODInst::GetInstallerDir
BufferString GetInstallerDir()
Settings
Settings class holds the user settings. It is an IOPar.
Definition: settings.h:34
ODInst::autoInstTypeUserMsgs
const BufferStringSet & autoInstTypeUserMsgs()
ODInst::getAutoInstType
AutoInstType getAutoInstType()
ODInst::Development
@ Development
Definition: odinst.h:43
ODInst::startInstManagementWithRelDir
void startInstManagementWithRelDir(const char *)
ODInst::canInstall
bool canInstall(const char *dirnm)
ODInst::runInstMgrForUpdt
bool runInstMgrForUpdt()
mGlobal
#define mGlobal(module)
Definition: commondefs.h:180
BufferStringSet
Set of BufferString objects.
Definition: bufstringset.h:26
ODInst::updatesAvailable
bool updatesAvailable()
ODInst::userSettings
Settings & userSettings()
ODInst::isErrPkgVersion
bool isErrPkgVersion(const char *s)
Definition: odinst.h:37
ODInst::PreDevelopment
@ PreDevelopment
Definition: odinst.h:44
ODInst::Other
@ Other
Definition: odinst.h:44
mDeclareNameSpaceEnumUtils
#define mDeclareNameSpaceEnumUtils(mod, enm)
Definition: enums.h:273
ODInst::RelType
RelType
Definition: odinst.h:43
ODInst::getPkgVersion
const char * getPkgVersion(const char *file_pkg_basenm)
For example, the Base pkg has "base".
ODInst::FullAuto
@ FullAuto
Definition: odinst.h:41
ODInst::startInstManagement
void startInstManagement()
ODInst::GetRelInfoDir
BufferString GetRelInfoDir()
ODInst::getRelType
RelType getRelType()
mDeprecated
#define mDeprecated(msg)
Definition: plfdefs.h:215
ODInst::Ancient
@ Ancient
Definition: odinst.h:44
ODInst::setAutoInstType
void setAutoInstType(AutoInstType)
ODInst
OpendTect Installation.
Definition: odinst.h:23
ODInst::getInstallerPlfDir
BufferString getInstallerPlfDir()
ODInst::sKeyAutoInst
const char * sKeyAutoInst()
BufferString
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
ODInst::sKeyHasUpdate
const char * sKeyHasUpdate()
enums.h
ODInst::autoInstTypeIsFixed
bool autoInstTypeIsFixed()
ODInst::NoAuto
@ NoAuto
Definition: odinst.h:41
ODInst::UseManager
@ UseManager
Definition: odinst.h:41
ODInst::sKeyHasNoUpdate
const char * sKeyHasNoUpdate()
ODInst::AutoInstType
AutoInstType
Definition: odinst.h:41
ODInst::Stable
@ Stable
Definition: odinst.h:43
ODInst::InformOnly
@ InformOnly
Definition: odinst.h:41
ODInst::PreStable
@ PreStable
Definition: odinst.h:43

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2021