812 CDesCArray* iDesArray; |
813 CDesCArray* iDesArray; |
813 TInt iCount; |
814 TInt iCount; |
814 }; |
815 }; |
815 |
816 |
816 |
817 |
|
818 /** |
|
819 * @ref CCameraResolutionList this class lists different |
|
820 * resolutions supported |
|
821 * |
|
822 * @lib sysinfoservice.lib |
|
823 * @since S60 3.2 |
|
824 */ |
|
825 NONSHARABLE_CLASS(CCameraResolutionList) : public CSysData |
|
826 { |
|
827 public: |
|
828 /** |
|
829 * Two-phased constructor. |
|
830 * |
|
831 * @return A new instance of this class. |
|
832 */ |
|
833 static CCameraResolutionList* NewL( RPointerArray<CResolution>& aCamResArray ); |
|
834 /** |
|
835 * Two-phased constructor. |
|
836 * |
|
837 * @return A new instance of this class. |
|
838 */ |
|
839 static CCameraResolutionList* NewLC( RPointerArray<CResolution>& aCamResArray ); |
|
840 |
|
841 /** |
|
842 * On return val contains supported resolution XPixel or YPixel |
|
843 * depending upon whether flag is 0 or 1. |
|
844 */ |
|
845 IMPORT_C TBool At( TInt aIndex, TInt flag, TInt& val ) const; |
|
846 |
|
847 /** |
|
848 * @return resolution at index. |
|
849 */ |
|
850 IMPORT_C const CResolution* operator[]( TInt aIndex ) const; |
|
851 /** |
|
852 * @return number of supported resolutions. |
|
853 */ |
|
854 IMPORT_C TInt Count() const; |
|
855 |
|
856 /** |
|
857 * Destructor. |
|
858 */ |
|
859 ~CCameraResolutionList(); |
|
860 |
|
861 private: |
|
862 /** |
|
863 * C++ default constructor. |
|
864 */ |
|
865 CCameraResolutionList(); |
|
866 /** |
|
867 * Symbian 2nd phase constructor. |
|
868 */ |
|
869 void ConstructL( RPointerArray<CResolution>& aCamResArray ); |
|
870 |
|
871 private: |
|
872 RPointerArray<CResolution> iresArray; |
|
873 TInt iCount; |
|
874 }; |
|
875 |
|
876 /** |
|
877 * @ref CCameraInfo details about Resolutions Supported and |
|
878 * MimeTypes supported by a device |
|
879 * @lib sysinfoservice.lib |
|
880 * @since S60 3.2 |
|
881 */ |
|
882 NONSHARABLE_CLASS(CCameraInfo) : public CSysData |
|
883 { |
|
884 public: |
|
885 /** |
|
886 * Two-phased constructor. |
|
887 * @return A new instance of this class. |
|
888 */ |
|
889 static CCameraInfo* NewL( CCameraResolutionList* aCamResList, CStringList* aMimeTypesList ); |
|
890 /** |
|
891 * Two-phased constructor. |
|
892 * @return A new instance of this class. |
|
893 */ |
|
894 static CCameraInfo* NewLC( CCameraResolutionList* aCamResList, CStringList* aMimeTypes ); |
|
895 |
|
896 /** |
|
897 * On return List of supported Resolutions |
|
898 */ |
|
899 IMPORT_C CCameraResolutionList* ResolutionList() const; |
|
900 |
|
901 /** |
|
902 * On return List of supported MimeTypes |
|
903 */ |
|
904 IMPORT_C CStringList* MimeTypesList() const; |
|
905 |
|
906 /** |
|
907 * Destructor. |
|
908 */ |
|
909 ~CCameraInfo(); |
|
910 |
|
911 private: |
|
912 /** |
|
913 * C++ default constructor. |
|
914 */ |
|
915 CCameraInfo(); |
|
916 /** |
|
917 * Symbian 2nd phase constructor. |
|
918 */ |
|
919 void ConstructL( CCameraResolutionList* aCamResList, CStringList* aMimeTypes ); |
|
920 |
|
921 private: |
|
922 CCameraResolutionList* iResList; |
|
923 CStringList* iMimeTypesList; |
|
924 }; |
|
925 |
817 #endif __SYSINFO_H__ |
926 #endif __SYSINFO_H__ |