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