};
inline BOOL getAutoLoop(void) { return _b_autoloop;};
+ void setVolume(int volume);
+ int getVolume(void) { return _i_volume; };
+
void setVisible(BOOL fVisible);
BOOL getVisible(void) { return _b_visible; };
+ BOOL isVisible(void) { return _b_visible || (! _b_usermode); };
+
+ void setTime(int time);
+ int getTime(void) { return _i_time; };
// control size in HIMETRIC
inline void setExtent(const SIZEL& extent)
inline void setDirty(BOOL dirty) { _b_dirty = dirty; };
inline BOOL isRunning(void) { return 0 != _i_vlc; };
+ HRESULT getVLCObject(int *i_vlc);
+
// control geometry within container
RECT getPosRect(void) { return _posRect; };
inline HWND getInPlaceWindow(void) const { return _inplacewnd; };
BOOL isInPlaceActive(void);
- inline int getVLCObject(void) const { return _i_vlc; };
-
/*
** container events
*/
VLCPluginClass *_p_class;
ULONG _i_ref;
- LPPICTURE _p_pict;
UINT _i_codepage;
BOOL _b_usermode;
+ int _i_vlc;
+ RECT _posRect;
+
+ // persistable properties
BSTR _bstr_mrl;
BOOL _b_autoplay;
BOOL _b_autoloop;
BOOL _b_visible;
BOOL _b_mute;
- BOOL _b_dirty;
- int _i_vlc;
-
+ int _i_volume;
+ int _i_time;
SIZEL _extent;
- RECT _posRect;
+ LPPICTURE _p_pict;
+ // indicates whether properties needs persisting
+ BOOL _b_dirty;
};
#endif