diff options
Diffstat (limited to 'src/CommonAPI/ServicePublisher.h')
-rw-r--r-- | src/CommonAPI/ServicePublisher.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CommonAPI/ServicePublisher.h b/src/CommonAPI/ServicePublisher.h index 43bbeb9..0fce54f 100644 --- a/src/CommonAPI/ServicePublisher.h +++ b/src/CommonAPI/ServicePublisher.h @@ -5,6 +5,10 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#if !defined (COMMONAPI_INTERNAL_COMPILATION) +#error "Only <CommonAPI/CommonAPI.h> can be included directly, this file may disappear or change contents." +#endif + #ifndef COMMONAPI_SERVICE_PUBLISHER_H_ #define COMMONAPI_SERVICE_PUBLISHER_H_ |