blob: ffdc12cb9acffe47c3f78cc4147ee23750d28e79 [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_BASE_X_X11_IDLE_QUERY_H_
#define UI_BASE_X_X11_IDLE_QUERY_H_
#include "base/component_export.h"
#include "base/macros.h"
namespace x11 {
class Connection;
}
namespace ui {
class COMPONENT_EXPORT(UI_BASE_X) IdleQueryX11 {
public:
IdleQueryX11();
~IdleQueryX11();
int IdleTime();
private:
x11::Connection* connection_;
DISALLOW_COPY_AND_ASSIGN(IdleQueryX11);
};
} // namespace ui
#endif // UI_BASE_X_X11_IDLE_QUERY_H_