OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2009 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 #ifndef CHROME_FRAME_NS_ASSOCIATE_IID_WIN_H_ |
| 6 #define CHROME_FRAME_NS_ASSOCIATE_IID_WIN_H_ |
| 7 |
| 8 #define ASSOCIATE_IID(iid, class_name) class __declspec(uuid(iid)) class_name |
| 9 |
| 10 // Associate IIDs with ns interfaces for convenience. |
| 11 // This makes ScopedNsPtr more user friendly and avoids the nsIXyz::GetIID() |
| 12 // calls which can't be used in templates (runtime vs compile time). |
| 13 ASSOCIATE_IID("00000000-0000-0000-c000-000000000046", nsISupports); |
| 14 |
| 15 #endif // CHROME_FRAME_NS_ASSOCIATE_IID_WIN_H_ |
OLD | NEW |