1 // Copyright 2015 The Chromium OS 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 SYSTEM_API_DBUS_LORGNETTE_DBUS_CONSTANTS_H_ 6 #define SYSTEM_API_DBUS_LORGNETTE_DBUS_CONSTANTS_H_ 7 8 namespace lorgnette { 9 const char kManagerServiceName[] = "org.chromium.lorgnette"; 10 const char kManagerServiceInterface[] = "org.chromium.lorgnette.Manager"; 11 const char kManagerServicePath[] = "/org/chromium/lorgnette/Manager"; 12 const char kManagerServiceError[] = "org.chromium.lorgnette.Error"; 13 14 // Methods. 15 const char kListScannersMethod[] = "ListScanners"; 16 const char kScanImageMethod[] = "ScanImage"; 17 18 // Attributes of scanners returned from "ListScanners". 19 const char kScannerPropertyManufacturer[] = "Manufacturer"; 20 const char kScannerPropertyModel[] = "Model"; 21 const char kScannerPropertyType[] = "Type"; 22 23 // Parameters supplied to a "ScanImage" request. 24 const char kScanPropertyMode[] = "Mode"; 25 const char kScanPropertyModeColor[] = "Color"; 26 const char kScanPropertyModeGray[] = "Gray"; 27 const char kScanPropertyModeLineart[] = "Lineart"; 28 const char kScanPropertyResolution[] = "Resolution"; 29 } // namespace lorgnette 30 31 #endif // SYSTEM_API_DBUS_LORGNETTE_DBUS_CONSTANTS_H_ 32