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 #ifndef MOVIEFRAGMENTHEADERATOM_H_INCLUDED 19 #define MOVIEFRAGMENTHEADERATOM_H_INCLUDED 20 21 #ifndef FULLATOM_H_INCLUDED 22 #include "fullatom.h" 23 #endif 24 25 class MovieFragmentHeaderAtom : public FullAtom 26 { 27 28 public: 29 MovieFragmentHeaderAtom(MP4_FF_FILE *fp, 30 uint32 size, 31 uint32 type); 32 virtual ~MovieFragmentHeaderAtom(); getSequenceNumber()33 int32 getSequenceNumber() 34 { 35 return _sequence_number; 36 } 37 38 private: 39 uint32 _sequence_number; 40 uint32 _version; 41 uint32 _flags; 42 }; 43 44 #endif 45