diff options
author | Ole Loots <ole@monochrom.net> | 2012-08-27 20:05:35 +0200 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2012-08-27 20:05:35 +0200 |
commit | 02593d170a7163a141acf6f2f72686a7bdbfb828 (patch) | |
tree | 455e1f2f2fb2f9d291bca96124799aa84a9d5e83 /atari/misc.h | |
parent | 5a7ddb9e8478e18ac06871dc841cf7069a5ba949 (diff) | |
download | netsurf-02593d170a7163a141acf6f2f72686a7bdbfb828.tar.gz netsurf-02593d170a7163a141acf6f2f72686a7bdbfb828.tar.bz2 |
Added is_process_running
Now the source code viewer is launched when not already
running (ShelWrite wasn't handling this correctly)
Diffstat (limited to 'atari/misc.h')
-rwxr-xr-x | atari/misc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/atari/misc.h b/atari/misc.h index edd026ba4..612113fc1 100755 --- a/atari/misc.h +++ b/atari/misc.h @@ -39,9 +39,12 @@ /* Modes for find_gui_window: */ #define BY_WINDOM_HANDLE 0x0 #define BY_GEM_HANDLE 0x1 + +typedef int (*scan_process_callback)(int pid, void *data); struct gui_window * find_gui_window( unsigned long, short mode );
-struct gui_window * find_cmp_window( COMPONENT * c );
+struct gui_window * find_cmp_window( COMPONENT * c ); +bool is_process_running(const char * name);
OBJECT *get_tree( int idx );
char *get_rsc_string( int idx );
void gem_set_cursor( MFORM_EX * cursor ); |