--- a/videocollection/hgmyvideos/inc/vcxhgmyvideosvideodetailsdialog.h Fri Mar 12 15:43:00 2010 +0200
+++ b/videocollection/hgmyvideos/inc/vcxhgmyvideosvideodetailsdialog.h Mon Mar 15 12:40:47 2010 +0200
@@ -20,8 +20,34 @@
#ifndef VCXHGMYVIDEOSVIDEODETAILS_H_
#define VCXHGMYVIDEOSVIDEODETAILS_H_
-NONSHARABLE_CLASS ( TVcxHgMyVideosVideoDetailsDialog )
+
+#include <mpxmedia.h>
+
+NONSHARABLE_CLASS ( CVcxHgMyVideosVideoDetailsDialog ) : public CBase
{
+ public:// Constructors and destructor
+
+ /**
+ * Two-phased constructor.
+ */
+ static CVcxHgMyVideosVideoDetailsDialog* NewL();
+
+ /**
+ * C+ destructor
+ */
+ virtual ~CVcxHgMyVideosVideoDetailsDialog();
+
+ public:
+
+ /**
+ * Provides the static function for the callback to show file details.
+ * Called by CIdle iDetailsAo.
+ *
+ * @param aPtr Pointer to callback class
+ */
+ static TInt ShowDetailsL( TAny* aPtr );
+
+
public:
/**
@@ -36,7 +62,33 @@
/**
* Default C++ constructor. By default it is private
*/
- TVcxHgMyVideosVideoDetailsDialog();
+ CVcxHgMyVideosVideoDetailsDialog();
+
+ /**
+ * Symbian 2nd phase constructor.
+ */
+ void ConstructL();
+
+ /*
+ * Activates an active object to display details.
+ */
+ void ActivateDetailsActiveObject();
+
+ /*
+ * Called to display file details.
+ */
+ void DoShowDetailsL();
+
+ /*
+ * Pointer to MPX media for which details are displayed. Own.
+ */
+ CMPXMedia* iDetailsMedia;
+
+ /*
+ * Active object to cut call stack and display details. Own.
+ */
+ CIdle* iDetailsAo;
+
};
#endif /*VCXHGMYVIDEOSVIDEODETAILS_H_*/