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:
@@ -50,6 +50,7 @@ class LLTextEditor;
|
||||
class LLTextureCtrl;
|
||||
class LLUICtrl;
|
||||
class LLMessageSystem;
|
||||
class AIFilePicker;
|
||||
|
||||
class LLPanelPick : public LLPanel
|
||||
{
|
||||
@@ -70,8 +71,10 @@ public:
|
||||
void initNewPick();
|
||||
|
||||
//Pick import and export - RK
|
||||
bool importNewPick();
|
||||
void importNewPick(void (*callback)(void*, bool), void* data);
|
||||
void importNewPick_continued(void (*callback)(void*, bool), void* data, AIFilePicker* filepicker);
|
||||
void exportPick();
|
||||
void exportPick_continued(AIFilePicker* filepicker);
|
||||
|
||||
// We need to know the creator id so the database knows which partition
|
||||
// to query for the pick data.
|
||||
|
||||
Reference in New Issue
Block a user