Use AIFilePicker everywhere.
Also upgrade the file picker filters with the new extensions found in the orginal file picker code of Singularity. Also improve AIFilePicker a bit: added hasFilename() and now deleting the statemachine automatically by default: it's no longer needed to call deleteMe from the callback.
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
#ifndef LL_LLFLOATERBLACKLIST_H
|
||||
#define LL_LLFLOATERBLACKLIST_H
|
||||
#include "llfloater.h"
|
||||
|
||||
class AIFilePicker;
|
||||
|
||||
class LLFloaterBlacklist : LLFloater
|
||||
{
|
||||
public:
|
||||
@@ -42,7 +45,9 @@ private:
|
||||
static void onClickAdd(void* user_data);
|
||||
static void onClickClear(void* user_data);
|
||||
static void onClickSave(void* user_data);
|
||||
static void onClickSave_continued(AIFilePicker* filepicker);
|
||||
static void onClickLoad(void* user_data);
|
||||
static void onClickLoad_continued(AIFilePicker* filepicker);
|
||||
static void onClickCopyUUID(void* user_data);
|
||||
static void onClickRemove(void* user_data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user