Home | History | Annotate | Download | only in libwebm
      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 MKVMUXERTYPES_HPP
     10 #define MKVMUXERTYPES_HPP
     11 
     12 // Copied from Chromium basictypes.h
     13 // A macro to disallow the copy constructor and operator= functions
     14 // This should be used in the private: declarations for a class
     15 #define LIBWEBM_DISALLOW_COPY_AND_ASSIGN(TypeName) \
     16   TypeName(const TypeName&);               \
     17   void operator=(const TypeName&)
     18 
     19 namespace mkvmuxer {
     20 
     21 typedef unsigned char      uint8;
     22 typedef short              int16;
     23 typedef int                int32;
     24 typedef unsigned int       uint32;
     25 typedef long long          int64;
     26 typedef unsigned long long uint64;
     27 
     28 }  //end namespace mkvmuxer
     29 
     30 #endif // MKVMUXERTYPES_HPP
     31