-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathHomeHook.h
38 lines (30 loc) · 1.37 KB
/
HomeHook.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/**************************************************
*** Project Title: Super Start (sstart) ***
*** Author: Greg Dietsche ***
*** Date: 11/21/2002 ***
*** Platforms: TI-89, TI89T, TI-92p, V200 ***
*** Supported Hardware Revisions: 1, 2, 3 ***
*** Description: An Application designed to ***
*** Simplify the launching of ppg ***
*** programs as well as normal ***
*** asm and TI-BASIC programs ***
***************************************************/
// $Id$
/*
This file is part of Super Start.
Super Start 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.
You may use portions of the Super Start source code for your own projects
if you give me credit and a link to my website: http://calc.gregd.org/
in the project source code and documentation.
*/
#ifndef _HOME_HOOK_H_
#define _HOME_HOOK_H_
BOOL InstallHook(void);
BOOL RemoveHook(void);
void HomeHook(pFrame self, PEvent e);
BOOL CanDelete(AppID self); //this should probabbly be called from a CanDelete function in sstart.c if there are more hooking options added
//TRUE if the home screen hook can be safely changed (if TRUE modifying the frame won't hurt)
#define HomeHookConflict()(EV_runningApp==EV_getAppID(ti_home) && AutoStartInstalled())
#endif