OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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 PRINTING_BACKEND_CUPS_DELETERS_H_ |
| 6 #define PRINTING_BACKEND_CUPS_DELETERS_H_ |
| 7 |
| 8 #include <cups/cups.h> |
| 9 |
| 10 namespace printing { |
| 11 |
| 12 struct HttpDeleter { |
| 13 public: |
| 14 void operator()(http_t* http) const; |
| 15 }; |
| 16 |
| 17 struct DestinationDeleter { |
| 18 public: |
| 19 void operator()(cups_dest_t* dest) const; |
| 20 }; |
| 21 |
| 22 struct DestInfoDeleter { |
| 23 public: |
| 24 void operator()(cups_dinfo_t* info) const; |
| 25 }; |
| 26 |
| 27 } // namespace printing |
| 28 |
| 29 #endif // PRINTING_BACKEND_CUPS_DELETERS_H_ |
OLD | NEW |