project_files/HedgewarsMobile/Classes/ObjcExports.h
author koda
Sat, 24 Sep 2011 02:23:15 +0200
changeset 6004 b92a6626b0e5
parent 5994 3c578f531cc1
child 6018 3b86826f6665
permissions -rw-r--r--
use a real button instead of a cellview in statspage
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4028
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
     1
/*
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
     2
 * Hedgewars-iOS, a Hedgewars port for iOS devices
4976
088d40d8aba2 Happy 2011 :)
koda
parents: 4504
diff changeset
     3
 * Copyright (c) 2009-2011 Vittorio Giovara <vittorio.giovara@gmail.com>
4028
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
     4
 *
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
     5
 * This program is free software; you can redistribute it and/or modify
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
     6
 * it under the terms of the GNU General Public License as published by
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
     7
 * the Free Software Foundation; version 2 of the License
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
     8
 *
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
     9
 * This program is distributed in the hope that it will be useful,
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    12
 * GNU General Public License for more details.
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    13
 *
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    14
 * You should have received a copy of the GNU General Public License
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    15
 * along with this program; if not, write to the Free Software
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    16
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    17
 *
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    18
 * File created on 30/10/2010.
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    19
 */
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    20
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    21
5174
f5294509783e initial refactoring of ObjcExports and OverlayViewController
koda
parents: 4976
diff changeset
    22
@class OverlayViewController;
4028
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    23
5174
f5294509783e initial refactoring of ObjcExports and OverlayViewController
koda
parents: 4976
diff changeset
    24
void objcExportsInit(OverlayViewController *instance);
4028
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    25
BOOL isGameRunning();
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    26
void setGameRunning(BOOL value);
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    27
NSInteger cachedGrenadeTime();
4504
8906b2409d97 add the appirater class for getting more positive reviews
koda
parents: 4362
diff changeset
    28
void clearView();
4028
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    29
void setGrenadeTime(NSInteger value);
5994
3c578f531cc1 don't rumble while synchronising a demo/save
koda
parents: 5174
diff changeset
    30
BOOL isApplePhone(void);
5174
f5294509783e initial refactoring of ObjcExports and OverlayViewController
koda
parents: 4976
diff changeset
    31
f5294509783e initial refactoring of ObjcExports and OverlayViewController
koda
parents: 4976
diff changeset
    32
void startSpinningProgress();
f5294509783e initial refactoring of ObjcExports and OverlayViewController
koda
parents: 4976
diff changeset
    33
void stopSpinningProgress();
f5294509783e initial refactoring of ObjcExports and OverlayViewController
koda
parents: 4976
diff changeset
    34
void saveBeganSynching();
f5294509783e initial refactoring of ObjcExports and OverlayViewController
koda
parents: 4976
diff changeset
    35
void saveFinishedSynching();