1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // This file defines empty versions of the macros used in the interfaces_*.h 6 // files, as long as they aren't already defined. This allows users of those 7 // files to only implement the macros they need, and everything else will 8 // compile. 9 // 10 // Include this file at the top, and interfaces_postamble.h at the bottom. The 11 // postamble will clean up these definitions. 12 13 #ifndef PROXIED_API 14 #define PROXIED_API(api_name) 15 #define UNDEFINE_PROXIED_API 16 #endif 17 18 #ifndef UNPROXIED_API 19 #define UNPROXIED_API(api_name) 20 #define UNDEFINE_UNPROXIED_API 21 #endif 22 23 #ifndef PROXIED_IFACE 24 #define PROXIED_IFACE(api_name, iface_str, iface_struct) 25 #define UNDEFINE_PROXIED_IFACE 26 #endif 27 28 #ifndef UNPROXIED_IFACE 29 #define UNPROXIED_IFACE(api_name, iface_str, iface_struct) 30 #define UNDEFINE_UNPROXIED_IFACE 31 #endif 32