docs/ikteam: Delete most files.
[haiku.git] / src / preferences / filetypes / FileTypes.h
blobf0204d3de809d74d01b640b90dc16e1842ced821
1 /*
2 * Copyright 2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef FILE_TYPES_H
6 #define FILE_TYPES_H
9 #include <Alert.h>
11 class BFile;
14 extern const char* kSignature;
16 static const uint32 kMsgOpenFilePanel = 'opFp';
18 static const uint32 kMsgOpenTypesWindow = 'opTw';
19 static const uint32 kMsgTypesWindowClosed = 'clTw';
21 static const uint32 kMsgOpenApplicationTypesWindow = 'opAw';
22 static const uint32 kMsgApplicationTypesWindowClosed = 'clAw';
24 static const uint32 kMsgTypeWindowClosed = 'cltw';
25 static const uint32 kMsgWindowClosed = 'WiCl';
27 static const uint32 kMsgSettingsChanged = 'SeCh';
30 // exported functions
32 extern bool is_application(BFile& file);
33 extern bool is_resource(BFile& file);
34 extern void error_alert(const char* message, status_t status = B_OK,
35 alert_type type = B_WARNING_ALERT);
37 #endif // FILE_TYPES_H