|
|
|||
File indexing completed on 2026-05-10 08:44:28
0001 //===- llvm/Support/COM.h ---------------------------------------*- C++ -*-===// 0002 // 0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 0004 // See https://llvm.org/LICENSE.txt for license information. 0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 0006 // 0007 //===----------------------------------------------------------------------===// 0008 /// \file 0009 /// 0010 /// Provides a library for accessing COM functionality of the Host OS. 0011 /// 0012 //===----------------------------------------------------------------------===// 0013 0014 #ifndef LLVM_SUPPORT_COM_H 0015 #define LLVM_SUPPORT_COM_H 0016 0017 namespace llvm { 0018 namespace sys { 0019 0020 enum class COMThreadingMode { SingleThreaded, MultiThreaded }; 0021 0022 class InitializeCOMRAII { 0023 public: 0024 explicit InitializeCOMRAII(COMThreadingMode Threading, 0025 bool SpeedOverMemory = false); 0026 ~InitializeCOMRAII(); 0027 0028 private: 0029 InitializeCOMRAII(const InitializeCOMRAII &) = delete; 0030 void operator=(const InitializeCOMRAII &) = delete; 0031 }; 0032 } 0033 } 0034 0035 #endif
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|