Index: adblockplus.gyp
===================================================================
--- a/adblockplus.gyp
+++ b/adblockplus.gyp
@@ -123,6 +123,7 @@
'src/plugin/ATL_Deprecate.cpp',
'src/plugin/ATL_Deprecate.h',
'src/plugin/Config.h',
+ 'src/plugin/Instances.h',
'src/plugin/NotificationMessage.cpp',
'src/plugin/NotificationMessage.h',
'src/plugin/Plugin.cpp',
@@ -234,6 +235,8 @@
'sources': [
'src/plugin/PluginDebug.cpp',
'test/plugin/DebugTest.cpp',
+ 'src/plugin/Instances.h',
+ 'test/plugin/InstancesTest.cpp',
'src/plugin/PluginUserSettings.cpp',
'src/plugin/PluginUserSettings.h',
'test/plugin/UserSettingsTest.cpp',
Index: src/plugin/Instances.h
===================================================================
new file mode 100644
--- /dev/null
+++ b/src/plugin/Instances.h
@@ -0,0 +1,99 @@
+/*
+ * This file is part of Adblock Plus ,
+ * Copyright (C) 2006-2016 Eyeo GmbH
+ *
+ * Adblock Plus is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 3 as
+ * published by the Free Software Foundation.
+ *
+ * Adblock Plus is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Adblock Plus. If not, see .
+ */
+
+#ifndef _INSTANCES_H_
+#define _INSTANCES_H_
+
+#include
+#include