summaryrefslogtreecommitdiff
path: root/src/CommonAPI/DBus/DBusProxyBase.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/CommonAPI/DBus/DBusProxyBase.h')
-rw-r--r--src/CommonAPI/DBus/DBusProxyBase.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/CommonAPI/DBus/DBusProxyBase.h b/src/CommonAPI/DBus/DBusProxyBase.h
index 454d03f..d1310b7 100644
--- a/src/CommonAPI/DBus/DBusProxyBase.h
+++ b/src/CommonAPI/DBus/DBusProxyBase.h
@@ -4,6 +4,11 @@
* This Source Code Form is subject to the terms of the Mozilla Public
* 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_DBUS_DBUS_PROXY_BASE_H_
#define COMMONAPI_DBUS_DBUS_PROXY_BASE_H_