2013-01-07 15:10:44 +01:00
|
|
|
/* -*- compile-command: "make MEMDEBUG=TRUE -j3"; -*- */
|
|
|
|
/* Copyright 1997 - 2013 by Eric House (xwords@eehouse.org) All rights
|
2009-01-25 21:31:13 +01:00
|
|
|
* reserved.
|
|
|
|
*
|
2003-11-01 06:35:29 +01:00
|
|
|
* 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
|
|
|
|
* of the License, 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 program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _GTKMAIN_H_
|
|
|
|
#define _GTKMAIN_H_
|
|
|
|
|
|
|
|
#include "main.h"
|
2013-01-07 15:10:44 +01:00
|
|
|
#include "gtkboard.h"
|
2003-11-01 06:35:29 +01:00
|
|
|
|
2013-01-06 01:08:19 +01:00
|
|
|
int gtkmain( LaunchParams* params );
|
2013-01-16 04:04:20 +01:00
|
|
|
void windowDestroyed( GtkGameGlobals* globals );
|
2020-01-24 18:05:16 +01:00
|
|
|
void gtkOnGameSaved( void* closure, sqlite3_int64 rowid, XP_Bool firstTime );
|
2015-07-07 05:28:16 +02:00
|
|
|
void make_rematch( GtkAppGlobals* apg, const CommonGlobals* cGlobals );
|
2020-10-01 21:38:25 +02:00
|
|
|
void inviteReceivedGTK( void* closure, const NetLaunchInfo* invite );
|
2020-05-20 22:58:53 +02:00
|
|
|
void msgReceivedGTK( void* closure, const CommsAddrRec* from, XP_U32 gameID,
|
|
|
|
const XP_U8* buf, XP_U16 len );
|
|
|
|
void gameGoneGTK( void* closure, const CommsAddrRec* from, XP_U32 gameID );
|
2020-12-02 23:29:07 +01:00
|
|
|
void resizeFromSaved( GtkWidget* window, sqlite3* pDb, const gchar* key );
|
|
|
|
void saveSize( const GdkEventConfigure* lastSize, sqlite3* pDb, const gchar* key );
|
2003-11-01 06:35:29 +01:00
|
|
|
#endif
|