]> granicus.if.org Git - icinga2/commitdiff
Fixed merge conflicts.
authorGunnar Beutner <gunnar@beutner.name>
Mon, 4 Jun 2012 07:21:33 +0000 (09:21 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Mon, 4 Jun 2012 07:21:33 +0000 (09:21 +0200)
components/configfile/configfile.vcxproj
dyn/configcontext.h
dyn/configobject.h [new file with mode: 0644]
dyn/dyn.vcxproj

index 698e3a238882222c0b1dd62597e015692bde2cc1..74e474d155ec3e0ff042473666358de6828063b4 100644 (file)
     </ProjectConfiguration>
   </ItemGroup>
   <ItemGroup>
-    <ClCompile Include="configcontext.cpp" />
     <ClCompile Include="configfilecomponent.cpp" />
-    <ClCompile Include="icinga_lexer.cc" />
-    <ClCompile Include="icinga_parser.cc" />
   </ItemGroup>
   <ItemGroup>
-    <ClInclude Include="configcontext.h" />
     <ClInclude Include="configfilecomponent.h" />
     <ClInclude Include="i2-configfile.h" />
-    <ClInclude Include="icinga_parser.h" />
-  </ItemGroup>
-  <ItemGroup>
-    <None Include="icinga_lexer.ll" />
-    <None Include="icinga_parser.yy" />
   </ItemGroup>
   <PropertyGroup Label="Globals">
     <ProjectGuid>{E58F1DA7-B723-412B-B2B7-7FF58E2A944E}</ProjectGuid>
index 4f29b9794e78f5d634a917ff373a87aa194ec62b..026dcaf7c08351bb998fc6304a61abd6fa874073 100644 (file)
@@ -23,7 +23,7 @@
 namespace icinga
 {
 
-class ConfigContext
+class I2_DYN_API ConfigContext
 {
 public:
        ConfigContext(istream *input = &cin);
diff --git a/dyn/configobject.h b/dyn/configobject.h
new file mode 100644 (file)
index 0000000..96bb6d0
--- /dev/null
@@ -0,0 +1,35 @@
+/******************************************************************************
+ * Icinga 2                                                                   *
+ * Copyright (C) 2012 Icinga Development Team (http://www.icinga.org/)        *
+ *                                                                            *
+ * This program is free software; you can redistribute it and/or              *
+ * modify it under the terms of the GNU General Public License                *
+ * as published by the Free Software Foundation; either version 2             *
+ * of the License, or (at your option) any later version.                     *
+ *                                                                            *
+ * This program 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 this program; if not, write to the Free Software Foundation     *
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.             *
+ ******************************************************************************/
+
+#ifndef CONFIGOBJECT_H
+#define CONFIGOBJECT_H
+
+namespace icinga
+{
+
+class I2_DYN_API ConfigObject : public Object
+{
+public:
+private:
+       DynamicObject::WeakPtr m_DynamicObject;
+};
+
+}
+
+#endif /* CONFIGOBJECT_H */
\ No newline at end of file
index 9ac948ab45a94ce011b56a2bd983bb38090be782..010bdee5a572f6a578c9df5c47808e58e8e58e13 100644 (file)
@@ -11,6 +11,8 @@
     </ProjectConfiguration>
   </ItemGroup>
   <ItemGroup>
+    <ClInclude Include="configcontext.h" />
+    <ClInclude Include="config_parser.h" />
     <ClInclude Include="dynamicdictionary.h" />
     <ClInclude Include="dynamicobject.h" />
     <ClInclude Include="i2-dyn.h" />
     <ClInclude Include="objectset.h" />
   </ItemGroup>
   <ItemGroup>
+    <ClCompile Include="configcontext.cpp" />
+    <ClCompile Include="config_lexer.cc" />
+    <ClCompile Include="config_parser.cc" />
     <ClCompile Include="dynamicdictionary.cpp" />
     <ClCompile Include="dynamicobject.cpp" />
     <ClCompile Include="objectmap.cpp" />
     <ClCompile Include="objectset.cpp" />
   </ItemGroup>
+  <ItemGroup>
+    <None Include="config_lexer.ll">
+      <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">config_lexer.cc</Outputs>
+      <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">config_lexer.cc</Outputs>
+      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">win_flex "%(FullPath)"</Command>
+      <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">win_flex "%(FullPath)"</Command>
+      <FileType>Document</FileType>
+    </None>
+    <None Include="config_parser.yy">
+      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">win_bison -d "%(FullPath)"</Command>
+      <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">config_parser.cc config_parser.h</Outputs>
+      <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">win_bison -d "%(FullPath)"</Command>
+      <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">config_parser.cc config_parser.h</Outputs>
+      <FileType>Document</FileType>
+    </None>
+  </ItemGroup>
   <PropertyGroup Label="Globals">
     <ProjectGuid>{B26AFFA6-2BDF-42E6-A224-2591FFD9BFB7}</ProjectGuid>
     <Keyword>Win32Proj</Keyword>