• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

xap_AppImpl.h

Go to the documentation of this file.
00001 /* AbiSource Application Framework
00002  * Copyright (C) 2004 Hubert Figuiere
00003  *
00004  * This program is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU General Public License
00006  * as published by the Free Software Foundation; either version 2
00007  * of the License, or (at your option) any later version.
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software
00016  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00017  * 02110-1301 USA.
00018  */
00019 
00020 
00021 #ifndef _XAP_APP_IMPL_H_
00022 #define _XAP_APP_IMPL_H_
00023 
00024 /* pre-emptive dismissal; ut_types.h is needed by just about everything,
00025  * so even if it's commented out in-file that's still a lot of work for
00026  * the preprocessor to do...
00027  */
00028 #ifndef UT_TYPES_H
00029 #include "ut_types.h"
00030 #endif
00031 
00032 class UT_String;
00033 
00034 
00035 class ABI_EXPORT XAP_AppImpl
00036 {
00037 public:
00038     virtual ~XAP_AppImpl() {}
00039 
00040     static XAP_AppImpl* static_constructor(void);       /* must be implemented by the ap_<FE>AppImpl */
00041 
00042     /* XAP_App can call impl methods. */
00043     friend class XAP_App;
00044 
00045 protected:
00046     virtual UT_String   localizeHelpUrl (const char * pathBeforeLang,
00047                                            const char * pathAfterLang,
00048                                            const char * remoteURLbase);
00049     virtual bool openURL(const char * url) = 0;
00050     virtual bool openHelpURL(const char * url);
00051 };
00052 
00053 #endif

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1