CFx SDK Documentation  2020SP3
OdTimeProvider.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2018, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2018 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 // OdTimeProvider.h - interface of time provider
25 
26 #ifndef _OD_TIMEPROVIDER_H__35B11389_12BC_4334_96BC_1C56DCD9D03E__INCLUDED_
27 #define _OD_TIMEPROVIDER_H__35B11389_12BC_4334_96BC_1C56DCD9D03E__INCLUDED_
28 
29 #include "RxModule.h"
30 #include "RootExport.h"
31 
32 #include "TD_PackPush.h"
33 #include "OdTimeStamp.h"
34 
36 {
37 public:
38  virtual bool getTimeFromServer(const OdString& serverName, OdTimeStamp& timeStamp) = 0;
39 };
40 
42 
43 #include "TD_PackPop.h"
44 
45 #endif // _OD_TIMEPROVIDER_H__35B11389_12BC_4334_96BC_1C56DCD9D03E__INCLUDED_
FIRSTDLL_EXPORT
#define FIRSTDLL_EXPORT
Definition: RootExport.h:39
OdString
Definition: OdString.h:95
RxModule.h
OdTimeStamp
Definition: OdTimeStamp.h:42
OdTimeProviderPtr
OdSmartPtr< OdTimeProvider > OdTimeProviderPtr
Definition: OdTimeProvider.h:41
TD_PackPop.h
RootExport.h
OdSmartPtr
Definition: SmartPtr.h:58
TD_PackPush.h
ODRX_ABSTRACT
#define ODRX_ABSTRACT
Definition: OdPlatformSettings.h:117
OdTimeStamp.h
OdTimeProvider::getTimeFromServer
virtual bool getTimeFromServer(const OdString &serverName, OdTimeStamp &timeStamp)=0
OdRxModule
Definition: RxModule.h:45
OdTimeProvider
Definition: OdTimeProvider.h:36