• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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     This DataEntryUrlAtom Class contains a table of data references which declare
20     the location of the media data used within the MPEG-4 presentation.
21 */
22 
23 
24 #ifndef DATAENTRYURLATOM_H_INCLUDED
25 #define DATAENTRYURLATOM_H_INCLUDED
26 
27 #ifndef OSCL_FILE_IO_H_INCLUDED
28 #include "oscl_file_io.h"
29 #endif
30 #ifndef DATAENTRYATOM_H_INCLUDED
31 #include "dataentryatom.h"
32 #endif
33 
34 class DataEntryUrlAtom : public DataEntryAtom
35 {
36 
37     public:
38         DataEntryUrlAtom(MP4_FF_FILE *fp); // Stream-in ctor
39         virtual ~DataEntryUrlAtom();
40 
41         // Member gets and sets
getLocation()42         OSCL_wString& getLocation()
43         {
44             return _location;
45         }
46 
47     private:
48         OSCL_wHeapString<OsclMemAllocator> _location;
49 
50 };
51 
52 #endif // DATAENTRYURLATOM_H_INCLUDED
53