1 /* 2 * Copyright 2003-2009, Haiku, Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Jonas Sundström, jonas@kirilla.com 7 */ 8 #ifndef ZIPOMATIC_MISC_H 9 #define ZIPOMATIC_MISC_H 10 11 12 #include <Directory.h> 13 #include <FindDirectory.h> 14 #include <Path.h> 15 #include <Volume.h> 16 17 18 #define ZIPOMATIC_APP_SIG "application/x-vnd.haiku.zip-o-matic" 19 20 #define ZIPPO_WINDOW_QUIT 'winq' 21 22 status_t FindAndCreateDirectory(directory_which which, 23 BVolume* volume = NULL, const char* relativePath = NULL, 24 BPath* fullPath = NULL); 25 26 void ErrorMessage(const char* text, int32 status); 27 28 #endif // ZIPOMATIC_MISC_H 29 30