1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +03:00

0024002: Overall code and build procedure refactoring -- automatic

Automatic upgrade of OCCT code by command "occt_upgrade . -nocdl":
- WOK-generated header files from inc and sources from drv are moved to src
- CDL files removed
- All packages are converted to nocdlpack
This commit is contained in:
abv
2015-07-12 07:42:38 +03:00
parent 543a996496
commit 42cf5bc1ca
15354 changed files with 623957 additions and 509844 deletions

View File

@@ -1,51 +0,0 @@
-- Created on: 1997-10-02
-- Created by: Denis PASCAL
-- Copyright (c) 1997-1999 Matra Datavision
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
--
-- This file is part of Open CASCADE Technology software library.
--
-- This library is free software; you can redistribute it and/or modify it under
-- the terms of the GNU Lesser General Public License version 2.1 as published
-- by the Free Software Foundation, with special exception defined in the file
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-- distribution for complete text of the license and disclaimer of any warranty.
--
-- Alternatively, this file may be used under the terms of Open CASCADE
-- commercial license or contractual agreement.
package DPrsStd
---Purpose: commands for presentation based on AIS
-- ======================================
uses Draw
is
---Purpose: Presentation commands
-- =====================
AllCommands (I : in out Interpretor from Draw);
---Purpose: to load all sketch commands
AISPresentationCommands (I : in out Interpretor from Draw);
---Purpose: to display....etc... ais presentation
AISViewerCommands (I : in out Interpretor from Draw);
---Purpose: to repaint...etc... ais viewer
BasicCommands (I : in out Interpretor from Draw);
---Purpose: set/get position attribute
Factory (theDI : out Interpretor from Draw);
---Purpose: Loads all Draw commands of TKDCAF. Used for plugin.
end DPrsStd;

View File

@@ -14,23 +14,23 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#include <DPrsStd.ixx>
#include <Draw_Interpretor.hxx>
#include <Draw.hxx>
#include <Draw_PluginMacro.hxx>
#include <DNaming.hxx>
#include <DDataStd.hxx>
#include <DDF.hxx>
#include <DDocStd.hxx>
//#include <AppStdL_Application.hxx>
#include <AppStd_Application.hxx>
#include <TCollection_AsciiString.hxx>
#include <OSD_Path.hxx>
#include <OSD_Environment.hxx>
#include <DDataStd.hxx>
#include <DDF.hxx>
#include <DDocStd.hxx>
#include <DNaming.hxx>
#include <DPrsStd.hxx>
#include <Draw.hxx>
#include <Draw_Interpretor.hxx>
#include <Draw_PluginMacro.hxx>
#include <OSD_Directory.hxx>
#include <OSD_Environment.hxx>
#include <OSD_File.hxx>
#include <OSD_Path.hxx>
#include <TCollection_AsciiString.hxx>
//#include <AppStdL_Application.hxx>
// avoid warnings on 'extern "C"' functions returning C++ classes
#ifdef WNT
#pragma warning(4:4190)

76
src/DPrsStd/DPrsStd.hxx Normal file
View File

@@ -0,0 +1,76 @@
// Created on: 1997-10-02
// Created by: Denis PASCAL
// Copyright (c) 1997-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _DPrsStd_HeaderFile
#define _DPrsStd_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Handle.hxx>
#include <Draw_Interpretor.hxx>
//! commands for presentation based on AIS
//! ======================================
class DPrsStd
{
public:
DEFINE_STANDARD_ALLOC
//! Presentation commands
//! =====================
//! to load all sketch commands
Standard_EXPORT static void AllCommands (Draw_Interpretor& I);
//! to display....etc... ais presentation
Standard_EXPORT static void AISPresentationCommands (Draw_Interpretor& I);
//! to repaint...etc... ais viewer
Standard_EXPORT static void AISViewerCommands (Draw_Interpretor& I);
//! set/get position attribute
Standard_EXPORT static void BasicCommands (Draw_Interpretor& I);
//! Loads all Draw commands of TKDCAF. Used for plugin.
Standard_EXPORT static void Factory (Draw_Interpretor& theDI);
protected:
private:
};
#endif // _DPrsStd_HeaderFile

View File

@@ -1,2 +1,4 @@
DPrsStd.cxx
DPrsStd.hxx
DPrsStd_AISPresentationCommands.cxx
DPrsStd_AISViewerCommands.cxx