1 // Copyright (c) 2012 The WebM project authors. All Rights Reserved. 2 // 3 // Use of this source code is governed by a BSD-style license 4 // that can be found in the LICENSE file in the root of the source 5 // tree. An additional intellectual property rights grant can be found 6 // in the file PATENTS. All contributing project authors may 7 // be found in the AUTHORS file in the root of the source tree. 8 9 #ifndef MKVMUXER_MKVMUXERTYPES_H_ 10 #define MKVMUXER_MKVMUXERTYPES_H_ 11 12 namespace mkvmuxer { 13 typedef unsigned char uint8; 14 typedef short int16; 15 typedef int int32; 16 typedef unsigned int uint32; 17 typedef long long int64; 18 typedef unsigned long long uint64; 19 } // namespace mkvmuxer 20 21 // Copied from Chromium basictypes.h 22 // A macro to disallow the copy constructor and operator= functions 23 // This should be used in the private: declarations for a class 24 #define LIBWEBM_DISALLOW_COPY_AND_ASSIGN(TypeName) \ 25 TypeName(const TypeName&); \ 26 void operator=(const TypeName&) 27 28 #endif // MKVMUXER_MKVMUXERTYPES_HPP_ 29