Files
harbour-core/harbour/contrib/hbqt/qtscript/hbqt_init.cpp
Pritpal Bedi fe863c109e 2012-07-07 02:11 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbqt/qtscript
  + contrib/hbqt/qtscript/doc
  + contrib/hbqt/qtscript/doc/en
  + contrib/hbqt/qtscript/hbqt_init.cpp
  + contrib/hbqt/qtscript/hbqtscript.ch
  + contrib/hbqt/qtscript/hbqtscript.hbc
  + contrib/hbqt/qtscript/hbqtscript.hbm
  + contrib/hbqt/qtscript/hbqtscript.hbp
  + contrib/hbqt/qtscript/hbqtscript.hbx
  + contrib/hbqt/qtscript/hbqtscripts.hbp
  + contrib/hbqt/qtscript/qth
  + contrib/hbqt/qtscript/qth/filelist.hbm
  + contrib/hbqt/qtscript/qth/QScriptable.qth
  + contrib/hbqt/qtscript/qth/QScriptClass.qth
  + contrib/hbqt/qtscript/qth/QScriptClassPropertyIterator.qth
  + contrib/hbqt/qtscript/qth/QScriptContext.qth
  + contrib/hbqt/qtscript/qth/QScriptContextInfo.qth
  + contrib/hbqt/qtscript/qth/QScriptEngine.qth
  + contrib/hbqt/qtscript/qth/QScriptEngineAgent.qth
  + contrib/hbqt/qtscript/qth/QScriptExtensionPlugin.qth
  + contrib/hbqt/qtscript/qth/QScriptProgram.qth
  + contrib/hbqt/qtscript/qth/QScriptString.qth
  + contrib/hbqt/qtscript/qth/QScriptSyntaxCheckResult.qth
  + contrib/hbqt/qtscript/qth/QScriptValue.qth
  + contrib/hbqt/qtscript/qth/QScriptValueIterator.qth
    + Added: Qt's QtScript Module specific classes.
2012-07-07 09:15:19 +00:00

98 lines
3.2 KiB
C++

/*
* $Id$
*/
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009-12 Pritpal Bedi (bedipritpal@hotmail.com)
* Copyright 2010 Viktor Szakats (harbour syenar.net)
* www - http://harbour-project.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, 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 software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbqt.h"
#include "hbqtinit.h"
#include "hbvm.h"
#include "hbinit.h"
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
static void hbqt_registerCallbacks( void )
{
}
/*----------------------------------------------------------------------*/
HB_FUNC( __HBQTSCRIPT ) {;}
static void hbqt_lib_init( void * cargo )
{
HB_SYMBOL_UNUSED( cargo );
hbqt_registerCallbacks();
}
static void hbqt_lib_exit( void * cargo )
{
HB_SYMBOL_UNUSED( cargo );
}
HB_CALL_ON_STARTUP_BEGIN( _hbqtscript_init_ )
hb_vmAtInit( hbqt_lib_init, NULL );
hb_vmAtExit( hbqt_lib_exit, NULL );
HB_CALL_ON_STARTUP_END( _hbqtscript_init_ )
#if defined( HB_PRAGMA_STARTUP )
#pragma startup _hbqtscript_init_
#elif defined( HB_DATASEG_STARTUP )
#define HB_DATASEG_BODY HB_DATASEG_FUNC( _hbqtscript_init_ )
#include "hbiniseg.h"
#endif
#endif