1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/src/AppStd/AppStd_Application.hxx

74 lines
1.8 KiB
C++

// Created on: 2000-09-07
// Created by: TURIN Anatoliy <ati@nnov.matra-dtv.fr>
// Copyright (c) 2000-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 _AppStd_Application_HeaderFile
#define _AppStd_Application_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <TDocStd_Application.hxx>
#include <TColStd_SequenceOfExtendedString.hxx>
#include <Standard_CString.hxx>
class CDM_MessageDriver;
class AppStd_Application;
DEFINE_STANDARD_HANDLE(AppStd_Application, TDocStd_Application)
class AppStd_Application : public TDocStd_Application
{
public:
Standard_EXPORT AppStd_Application();
Standard_EXPORT virtual Handle(CDM_MessageDriver) MessageDriver() Standard_OVERRIDE;
//! returns supported format for application documents.
Standard_EXPORT virtual void Formats (TColStd_SequenceOfExtendedString& theFormats) Standard_OVERRIDE;
//! returns the file name which contains application
//! resources
Standard_EXPORT Standard_CString ResourcesName() Standard_OVERRIDE;
DEFINE_STANDARD_RTTI(AppStd_Application,TDocStd_Application)
protected:
private:
Handle(CDM_MessageDriver) myMessageDriver;
};
#endif // _AppStd_Application_HeaderFile