xref: /haiku/src/add-ons/tracker/zipomatic/ZipOMaticMisc.h (revision d5cd5d63ff0ad395989db6cf4841a64d5b545d1d)
1 #ifndef __ZIPOMATIC_MISC__
2 #define __ZIPOMATIC_MISC__
3 
4 #include <stdlib.h>
5 #include <stdio.h>
6 #include <String.h>
7 
8 #include <SupportDefs.h>
9 #include <Volume.h>
10 #include <Path.h>
11 #include <Directory.h>
12 #include <FindDirectory.h>
13 
14 #define ZIPOMATIC_APP_SIG		"application/x-vnd.obos.zip-o-matic"
15 #define ZIPOMATIC_APP_NAME		"ZipOMatic"
16 
17 #define ZIPPO_WINDOW_QUIT			'winq'
18 
19 status_t  	find_and_create_directory	(directory_which a_which, BVolume * a_volume = NULL, const char * a_relative_path = NULL, BPath * a_full_path = NULL);
20 
21 void 		error_message	(const char * a_text, int32 a_status);
22 
23 #endif // __ZIPOMATIC_MISC__
24 
25