Added: #1440 Base for PackageBNP plugin

--HG--
branch : build_pipeline_v3
hg/feature/build_pipeline_v3
kaetemi 12 years ago
parent e00aa170c0
commit ab873d8d0b

@ -41,6 +41,7 @@
#include "../plugin_library/pipeline_interface.h"
#include "process_interface.h"
#include "process_texture_dds.h"
#include "process_package_bnp.h"
using namespace std;
// using namespace NLMISC;
@ -58,6 +59,8 @@ class CPipelinePluginNeLNelLibrary : public NLMISC::INelLibrary
PIPELINE_REGISTER_CLASS(CProcessInterfaceInfo);
PIPELINE_REGISTER_CLASS(CProcessTextureDDS);
PIPELINE_REGISTER_CLASS(CProcessTextureDDSInfo);
PIPELINE_REGISTER_CLASS(CProcessPackageBNP);
PIPELINE_REGISTER_CLASS(CProcessPackageBNPInfo);
}
void onLibraryUnloaded(bool /* lastTime */)
{

@ -0,0 +1,60 @@
/**
* \file process_package_bnp.cpp
* \brief CProcessPackageBNP
* \date 2012-08-04 18:54GMT
* \author Jan Boon (Kaetemi)
* CProcessPackageBNP
*/
/*
* Copyright (C) 2012 by authors
*
* This file is part of RYZOM CORE PIPELINE.
* RYZOM CORE PIPELINE is free software: you can redistribute it
* and/or modify it under the terms of the GNU Affero General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* RYZOM CORE PIPELINE 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public
* License along with RYZOM CORE PIPELINE. If not, see
* <http://www.gnu.org/licenses/>.
*/
#include <nel/misc/types_nl.h>
#include "process_package_bnp.h"
// STL includes
// NeL includes
#include <nel/misc/debug.h>
// Project includes
// using namespace std;
// using namespace NLMISC;
namespace PIPELINE {
void CProcessPackageBNP::build()
{
nldebug("Build process plugin: CProcessPackageBNP");
}
void CProcessPackageBNPInfo::getDependentDirectories(std::vector<std::string> &resultAppend)
{
}
void CProcessPackageBNPInfo::getDependentFiles(std::vector<std::string> &resultAppend)
{
}
} /* namespace PIPELINE */
/* end of file */

@ -0,0 +1,81 @@
/**
* \file process_package_bnp.h
* \brief CProcessPackageBNP
* \date 2012-08-04 18:54GMT
* \author Jan Boon (Kaetemi)
* CProcessPackageBNP
*/
/*
* Copyright (C) 2012 by authors
*
* This file is part of RYZOM CORE PIPELINE.
* RYZOM CORE PIPELINE is free software: you can redistribute it
* and/or modify it under the terms of the GNU Affero General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* RYZOM CORE PIPELINE 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public
* License along with RYZOM CORE PIPELINE. If not, see
* <http://www.gnu.org/licenses/>.
*/
#ifndef PIPELINE_PROCESS_PACKAGE_BNP_H
#define PIPELINE_PROCESS_PACKAGE_BNP_H
#include <nel/misc/types_nl.h>
// STL includes
// NeL includes
// Project includes
#include "../plugin_library/process_handler.h"
#include "../plugin_library/process_info.h"
namespace PIPELINE {
/**
* \brief CProcessPackageBNP
* \date 2012-08-04 18:54GMT
* \author Jan Boon (Kaetemi)
* CProcessPackageBNP
*/
class CProcessPackageBNP : public IProcessHandler
{
public:
CProcessPackageBNP() { }
virtual ~CProcessPackageBNP() { }
virtual void build();
NLMISC_DECLARE_CLASS(CProcessPackageBNP)
}; /* class CProcessPackageBNP */
/**
* \brief CProcessPackageBNPInfo
* \date 2012-08-04 18:54GMT
* \author Jan Boon (Kaetemi)
* CProcessPackageBNPInfo
*/
class CProcessPackageBNPInfo : public IProcessInfo
{
public:
CProcessPackageBNPInfo() { }
virtual ~CProcessPackageBNPInfo() { }
virtual void getDependentDirectories(std::vector<std::string> &resultAppend);
virtual void getDependentFiles(std::vector<std::string> &resultAppend);
NLMISC_DECLARE_CLASS(CProcessPackageBNPInfo)
}; /* class CProcessPackageBNPInfo */
} /* namespace PIPELINE */
#endif /* #ifndef PIPELINE_PROCESS_PACKAGE_BNP_H */
/* end of file */

@ -59,10 +59,10 @@ public:
}; /* class CProcessTextureDDS */
/**
* \brief CProcessTextureDDS
* \brief CProcessTextureDDSInfo
* \date 2012-08-04 12:50GMT
* \author Jan Boon (Kaetemi)
* CProcessTextureDDS
* CProcessTextureDDSInfo
*/
class CProcessTextureDDSInfo : public IProcessInfo
{
@ -74,7 +74,7 @@ public:
virtual void getDependentFiles(std::vector<std::string> &resultAppend);
NLMISC_DECLARE_CLASS(CProcessTextureDDSInfo)
}; /* class CProcessTextureDDS */
}; /* class CProcessTextureDDSInfo */
} /* namespace PIPELINE */

@ -18,7 +18,7 @@
<ATOM Value="[$DatabaseDirectory]/interfaces/v3_quick_help"/>
<ATOM Value="[$DatabaseDirectory]/interfaces/r2_3d"/>
</ARRAY>
<ATOM Name="DstFile" Value="interfaces.bnp"/>
<ATOM Name="DstFile" Value="[$PackageDirectory]/interfaces.bnp"/>
</STRUCT>
</STRUCT>
</STRUCT>
@ -33,5 +33,6 @@ Sat Aug 04 20:16:14 2012 (kaetemi) formName Resized = 6
Sat Aug 04 20:19:53 2012 (kaetemi) .DependentProjects[0] = common_interface.pipeline_project
Sat Aug 04 20:19:53 2012 (kaetemi) formName Resized = 1
Sat Aug 04 20:20:13 2012 (kaetemi) .Processes[0] = PackageBNP
Sat Aug 04 20:20:13 2012 (kaetemi) formName Resized = 1</LOG>
Sat Aug 04 20:20:13 2012 (kaetemi) formName Resized = 1
Sat Aug 04 20:34:00 2012 (kaetemi) .Package.BNP.DstFile = [$PackageDirectory]/interfaces.bnp</LOG>
</FORM>

Loading…
Cancel
Save