mirror of https://github.com/Icinga/icinga2.git
Fixed merge conflicts.
This commit is contained in:
parent
99e5eef7c1
commit
9c3e57c858
|
@ -11,20 +11,11 @@
|
||||||
</ProjectConfiguration>
|
</ProjectConfiguration>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="configcontext.cpp" />
|
|
||||||
<ClCompile Include="configfilecomponent.cpp" />
|
<ClCompile Include="configfilecomponent.cpp" />
|
||||||
<ClCompile Include="icinga_lexer.cc" />
|
|
||||||
<ClCompile Include="icinga_parser.cc" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="configcontext.h" />
|
|
||||||
<ClInclude Include="configfilecomponent.h" />
|
<ClInclude Include="configfilecomponent.h" />
|
||||||
<ClInclude Include="i2-configfile.h" />
|
<ClInclude Include="i2-configfile.h" />
|
||||||
<ClInclude Include="icinga_parser.h" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="icinga_lexer.ll" />
|
|
||||||
<None Include="icinga_parser.yy" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<PropertyGroup Label="Globals">
|
<PropertyGroup Label="Globals">
|
||||||
<ProjectGuid>{E58F1DA7-B723-412B-B2B7-7FF58E2A944E}</ProjectGuid>
|
<ProjectGuid>{E58F1DA7-B723-412B-B2B7-7FF58E2A944E}</ProjectGuid>
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
namespace icinga
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
class ConfigContext
|
class I2_DYN_API ConfigContext
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ConfigContext(istream *input = &cin);
|
ConfigContext(istream *input = &cin);
|
||||||
|
|
|
@ -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 */
|
|
@ -11,6 +11,8 @@
|
||||||
</ProjectConfiguration>
|
</ProjectConfiguration>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<ClInclude Include="configcontext.h" />
|
||||||
|
<ClInclude Include="config_parser.h" />
|
||||||
<ClInclude Include="dynamicdictionary.h" />
|
<ClInclude Include="dynamicdictionary.h" />
|
||||||
<ClInclude Include="dynamicobject.h" />
|
<ClInclude Include="dynamicobject.h" />
|
||||||
<ClInclude Include="i2-dyn.h" />
|
<ClInclude Include="i2-dyn.h" />
|
||||||
|
@ -18,11 +20,30 @@
|
||||||
<ClInclude Include="objectset.h" />
|
<ClInclude Include="objectset.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<ClCompile Include="configcontext.cpp" />
|
||||||
|
<ClCompile Include="config_lexer.cc" />
|
||||||
|
<ClCompile Include="config_parser.cc" />
|
||||||
<ClCompile Include="dynamicdictionary.cpp" />
|
<ClCompile Include="dynamicdictionary.cpp" />
|
||||||
<ClCompile Include="dynamicobject.cpp" />
|
<ClCompile Include="dynamicobject.cpp" />
|
||||||
<ClCompile Include="objectmap.cpp" />
|
<ClCompile Include="objectmap.cpp" />
|
||||||
<ClCompile Include="objectset.cpp" />
|
<ClCompile Include="objectset.cpp" />
|
||||||
</ItemGroup>
|
</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">
|
<PropertyGroup Label="Globals">
|
||||||
<ProjectGuid>{B26AFFA6-2BDF-42E6-A224-2591FFD9BFB7}</ProjectGuid>
|
<ProjectGuid>{B26AFFA6-2BDF-42E6-A224-2591FFD9BFB7}</ProjectGuid>
|
||||||
<Keyword>Win32Proj</Keyword>
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
|
Loading…
Reference in New Issue