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 CopyrightAtom Class contains the user-defined copyright notice. 20*/ 21 22 23#ifndef COPYRIGHTATOM_H_INCLUDED 24#define COPYRIGHTATOM_H_INCLUDED 25 26#ifndef OSCL_FILE_IO_H_INCLUDED 27#include "oscl_file_io.h" 28#endif 29#ifndef FULLATOM_H_INCLUDED 30#include "fullatom.h" 31#endif 32 33class CopyRightAtom : public FullAtom 34{ 35 36 public: 37 CopyRightAtom(MP4_FF_FILE *fp, uint32 size, uint32 type); // Constructor 38 virtual ~CopyRightAtom(); 39 40 // Member gets and sets 41 uint16 getLanguageCode() 42 { 43 return _language_code; 44 } 45 46 OSCL_wString& getCopyRightString() 47 { 48 return _copyRightNotice; 49 } 50 51 private: 52 uint16 _language_code; // (15bits) padded with a single bit when rendering 53 OSCL_wHeapString<OsclMemAllocator> _copyRightNotice; 54}; 55 56 57#endif // COPYRIGHTATOM_H_INCLUDED 58 59