Instance.h
1 //##################################################################################################
2 //
3 // Ceetron Desktop Components
4 // Component: Core
5 //
6 // --------------------------------------------------------------------------------------------
7 // Copyright (C) 2011, Ceetron AS
8 // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Ceetron AS. The contents of this file may
9 // not be disclosed to third parties, copied or duplicated in any form, in whole or in part,
10 // without the prior written permission of Ceetron AS.
11 //##################################################################################################
12 
13 #pragma once
14 
15 #include "CeeCore/RefCountedObject.h"
16 #include "CeeCore/Str.h"
17 
18 namespace cee {
19 
20 class InitializationOptions;
21 
22 
23 //==================================================================================================
24 //
25 //
26 //
27 //==================================================================================================
28 class CEE_CORE_EXPORT Instance : public RefCountedObject
29 {
30 public:
31  virtual ~Instance();
32 
33  unsigned int version() const;
34  Str versionString() const;
35 
36  unsigned int licenseKeyA() const;
37  unsigned int licenseKeyB() const;
38 
39  const InitializationOptions& initializationOptions() const;
40 
41 private:
42  Instance();
43 
44 private:
45  CEE_BASE_F(CoreComponent);
46  CEE_PRIVATE_IMPL(Instance);
47  CEE_DISALLOW_COPY_AND_ASSIGN(Instance);
48 };
49 
50 }
Static class for initialization of the Core component.
Definition: CoreComponent.h:32
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppAssert.cpp:18
A general unicode based string class.
Definition: Str.h:28
Ceetron Desktop Components instance object.
Definition: Instance.h:28
Base class for all reference counted objects with built-in support for intrusive reference counting...
Definition: RefCountedObject.h:34
Options object for specifying initialization options for Ceetron Desktop Components.
Definition: InitializationOptions.h:25