summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewanim.h
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-02-21 15:20:20 -0500
committerOz Linden <oz@lindenlab.com>2012-02-21 15:20:20 -0500
commit3be60824c86f2d02dcb393707f9d2be1b38c5f57 (patch)
tree4315becff5cc0c148b44bfa0bb585cb3d2e790d9 /indra/newview/llpreviewanim.h
parentf1c8674aa84d72c9e46c8bbf73387dae3f335b59 (diff)
parent092c0eda65eedd606ae7cbacd74445dcff496998 (diff)
merge changes for storm-1807
Diffstat (limited to 'indra/newview/llpreviewanim.h')
-rw-r--r--indra/newview/llpreviewanim.h20
1 files changed, 7 insertions, 13 deletions
diff --git a/indra/newview/llpreviewanim.h b/indra/newview/llpreviewanim.h
index 32e07ee33a..8eaed6ca1f 100644
--- a/indra/newview/llpreviewanim.h
+++ b/indra/newview/llpreviewanim.h
@@ -33,24 +33,18 @@
class LLPreviewAnim : public LLPreview
{
public:
- enum e_activation_type { NONE = 0, PLAY = 1, AUDITION = 2 };
- LLPreviewAnim(const LLSD& key);
- static void playAnim( void* userdata );
- static void auditionAnim( void* userdata );
- static void endAnimCallback( void *userdata );
+ LLPreviewAnim(const LLSD& key);
/*virtual*/ BOOL postBuild();
/*virtual*/ void onClose(bool app_quitting);
- void activate(e_activation_type type);
+ void draw();
+ void cleanup();
+ void play(const LLSD& param);
protected:
- LLAnimPauseRequest mPauseRequest;
- LLUUID mItemID;
- std::string mTitle;
- LLUUID mObjectID;
- LLButton* mPlayBtn;
- LLButton* mAuditionBtn;
+ LLUUID mItemID;
+ bool mDidStart;
};
-#endif // LL_LLPREVIEWSOUND_H
+#endif // LL_LLPREVIEWANIM_H