/*******************************************************************************
  TPI - flexible but useless plug-in framework.
  Copyright (C) 2002-2009 Silky

  This library is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free
  Software Foundation; either version 2.1 of the License, or (at your option)
  any later version.

  This library 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 Lesser General Public License
  for more details.

  You should have received a copy of the GNU Lesser General Public License along
  with this library; if not, write to the Free Software Foundation, Inc.,
  51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA

  $Id: frontend-wx.h,v 1.5 2009/08/12 12:26:49 sirakaba Exp $
*******************************************************************************/

#ifndef H_LOADED_FRONTEND_WX
#define H_LOADED_FRONTEND_WX

#define wxUSE_UNICODE       1
#define wxUSE_DYNLIB_CLASS  1
#define wxUSE_DRAG_AND_DROP 1
#include "../common/header/plugin.h"
#include <wx/dynlib.h>
#include <wx/treectrl.h>
#include <wx/listctrl.h>
#include <wx/spinctrl.h>
#include <wx/splitter.h>
#include <wx/notebook.h>
#include <wx/mimetype.h>
#include <wx/cmdline.h>
#include <wx/dnd.h>
#include <wx/filesys.h>
#include <wx/xrc/xmlres.h>
#include <wx/stdpaths.h>

#include "../common/handle/TPIHandle.h"

#ifdef __WINDOWS__
#define TPI_EXT wxT(".dll")
#else
#define TPI_EXT wxT(".so")
#endif

#define FE_DIR_BIN wxT("./")
#define FE_DIR_SHR wxT("../share/frontend/")
#define FE_DIR_B_LIB FE_DIR_BIN wxT("lib/")
#define FE_DIR_S_XRC FE_DIR_SHR wxT("xrc/")
#define FE_DIR_S_ICO FE_DIR_SHR wxT("ico/")

#endif
