HoverRace  2.0
Transfer.h
Go to the documentation of this file.
1 
2 // Transfer.h
3 // Header for the network transfer session.
4 //
5 // Copyright (c) 2009 Michael Imamura.
6 //
7 // Licensed under GrokkSoft HoverRace SourceCode License v1.0(the "License");
8 // you may not use this file except in compliance with the License.
9 //
10 // A copy of the license should have been attached to the package from which
11 // you have taken this file. If you can not find the license you can not use
12 // this file.
13 //
14 //
15 // The author makes no representations about the suitability of
16 // this software for any purpose. It is provided "as is" "AS IS",
17 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
18 // implied.
19 //
20 // See the License for the specific language governing permissions
21 // and limitations under the License.
22 
23 #pragma once
24 
25 #if defined(_WIN32) && defined(HR_ENGINE_SHARED)
26 # ifdef MR_ENGINE
27 # define MR_DllDeclare __declspec( dllexport )
28 # else
29 # define MR_DllDeclare __declspec( dllimport )
30 # endif
31 # define MR_PureVirtual __declspec(novtable)
32 #else
33 # define MR_DllDeclare
34 # define MR_PureVirtual
35 #endif
36 
37 namespace HoverRace {
38 namespace Net {
39 
45 {
46  public:
47  virtual bool IsComplete() const = 0;
48 };
49 
50 } // namespace Net
51 } // namespace HoverRace
52 
53 #undef MR_DllDeclare
#define MR_DllDeclare
Definition: Transfer.h:33
#define MR_PureVirtual
Definition: Transfer.h:34
Definition: Announcement.h:24
Interface for network transfers.
Definition: Transfer.h:44