Home | History | Annotate | Download | only in dbus
      1 // Copyright (c) 2013 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 CHROMEOS_DBUS_VOLUME_STATE_H_
      6 #define CHROMEOS_DBUS_VOLUME_STATE_H_
      7 
      8 #include <string>
      9 
     10 #include "base/basictypes.h"
     11 #include "chromeos/chromeos_export.h"
     12 
     13 namespace chromeos {
     14 
     15 struct CHROMEOS_EXPORT VolumeState {
     16   int32 output_volume;
     17   bool output_system_mute;
     18   int32 input_gain;
     19   bool input_mute;
     20   bool output_user_mute;
     21 
     22   VolumeState();
     23   std::string ToString() const;
     24 };
     25 
     26 }  // namespace chromeos
     27 
     28 #endif  // CHROMEOS_DBUS_VOLUME_STATE_H_
     29