1 /* ------------------------------------------------------------------ 2 * Copyright (C) 1998-2009 PacketVideo 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 13 * express or implied. 14 * See the License for the specific language governing permissions 15 * and limitations under the License. 16 * ------------------------------------------------------------------- 17 */ 18 /*********************************************************************************/ 19 /* ------------------------------------------------------------------- */ 20 /* MPEG-4 DataEntryUrnAtom Class */ 21 /* ------------------------------------------------------------------- */ 22 /*********************************************************************************/ 23 /* 24 This DataEntryUrnAtom Class contains a table of data references which declare 25 the location of the media data used within the MPEG-4 presentation. 26 */ 27 28 29 #ifndef DATAENTRYURNATOM_H_INCLUDED 30 #define DATAENTRYURNATOM_H_INCLUDED 31 32 #ifndef OSCL_FILE_IO_H_INCLUDED 33 #include "oscl_file_io.h" 34 #endif 35 36 #ifndef DATAENTRYATOM_H_INCLUDED 37 #include "dataentryatom.h" 38 #endif 39 40 class DataEntryUrnAtom : public DataEntryAtom 41 { 42 43 public: 44 DataEntryUrnAtom(uint8 version, uint32 flags); // Constructor 45 DataEntryUrnAtom(DataEntryUrnAtom atom); // Copy constructor 46 virtual ~DataEntryUrnAtom(); 47 48 // Member gets and sets getName()49 OSCL_wString& getName() 50 { 51 return _name; 52 } getLocation()53 OSCL_wString& getLocation() 54 { 55 return _location; 56 } 57 58 private: 59 OSCL_wHeapString<OsclMemAllocator> _name; 60 OSCL_wHeapString<OsclMemAllocator> _location; 61 62 }; 63 64 #endif // DATAENTRYURNATOM_H_INCLUDED 65 66 67