diff options
Diffstat (limited to 'src/Platform/Functor.h')
-rw-r--r-- | src/Platform/Functor.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/Platform/Functor.h b/src/Platform/Functor.h index 234b4f2f..f17801d6 100644 --- a/src/Platform/Functor.h +++ b/src/Platform/Functor.h @@ -3,31 +3,31 @@ Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed by the TrueCrypt License 3.0. - Modifications and additions to the original source code (contained in this file) + Modifications and additions to the original source code (contained in this file) and all other portions of this file are Copyright (c) 2013-2016 IDRIX and are governed by the Apache License 2.0 the full text of which is contained in the file License.txt included in VeraCrypt binary and source code distribution packages. -*/
-
-#ifndef TC_HEADER_Platform_Functor
-#define TC_HEADER_Platform_Functor
-
-#include "PlatformBase.h"
-
-namespace VeraCrypt
-{
- struct Functor
- {
- virtual ~Functor () { }
- virtual void operator() () = 0;
- };
-
- struct GetStringFunctor
- {
- virtual ~GetStringFunctor () { }
- virtual void operator() (string &str) = 0;
- };
-}
-
-#endif // TC_HEADER_Platform_Functor
+*/ + +#ifndef TC_HEADER_Platform_Functor +#define TC_HEADER_Platform_Functor + +#include "PlatformBase.h" + +namespace VeraCrypt +{ + struct Functor + { + virtual ~Functor () { } + virtual void operator() () = 0; + }; + + struct GetStringFunctor + { + virtual ~GetStringFunctor () { } + virtual void operator() (string &str) = 0; + }; +} + +#endif // TC_HEADER_Platform_Functor |