Finally fixed update_mime_info(). As Be's version it understands two
different "force" levels now and updates the app file info attributes for shared object files. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16123 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -18,8 +18,9 @@ namespace Mime {
|
||||
|
||||
class CreateAppMetaMimeThread : public MimeUpdateThread {
|
||||
public:
|
||||
CreateAppMetaMimeThread(const char *name, int32 priority, BMessenger managerMessenger,
|
||||
const entry_ref *root, bool recursive, bool force, BMessage *replyee);
|
||||
CreateAppMetaMimeThread(const char *name, int32 priority,
|
||||
BMessenger managerMessenger, const entry_ref *root, bool recursive,
|
||||
int32 force, BMessage *replyee);
|
||||
status_t DoMimeUpdate(const entry_ref *entry, bool *entryIsDir);
|
||||
};
|
||||
|
||||
|
||||
@@ -26,8 +26,9 @@ namespace Mime {
|
||||
|
||||
class MimeUpdateThread : public RegistrarThread {
|
||||
public:
|
||||
MimeUpdateThread(const char *name, int32 priority, BMessenger managerMessenger,
|
||||
const entry_ref *root, bool recursive, bool force, BMessage *replyee);
|
||||
MimeUpdateThread(const char *name, int32 priority,
|
||||
BMessenger managerMessenger, const entry_ref *root, bool recursive,
|
||||
int32 force, BMessage *replyee);
|
||||
virtual ~MimeUpdateThread();
|
||||
|
||||
virtual status_t InitCheck();
|
||||
@@ -38,7 +39,7 @@ protected:
|
||||
|
||||
const entry_ref fRoot;
|
||||
const bool fRecursive;
|
||||
const bool fForce;
|
||||
const int32 fForce;
|
||||
BMessage *fReplyee;
|
||||
|
||||
bool DeviceSupportsAttributes(dev_t device);
|
||||
|
||||
@@ -18,8 +18,9 @@ namespace Mime {
|
||||
|
||||
class UpdateMimeInfoThread : public MimeUpdateThread {
|
||||
public:
|
||||
UpdateMimeInfoThread(const char *name, int32 priority, BMessenger managerMessenger,
|
||||
const entry_ref *root, bool recursive, bool force, BMessage *replyee);
|
||||
UpdateMimeInfoThread(const char *name, int32 priority,
|
||||
BMessenger managerMessenger, const entry_ref *root, bool recursive,
|
||||
int32 force, BMessage *replyee);
|
||||
status_t DoMimeUpdate(const entry_ref *entry, bool *entryIsDir);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user