1 // Copyright 2014 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.
5 #ifndef ATHENA_ACTIVITY_PUBLIC_ACTIVITY_VIEW_MANAGER_H_
6 #define ATHENA_ACTIVITY_PUBLIC_ACTIVITY_VIEW_MANAGER_H_
8 #include "athena/athena_export.h"
14 // Manages the views for the activities.
15 class ATHENA_EXPORT ActivityViewManager
{
17 static ActivityViewManager
* Create();
18 static ActivityViewManager
* Get();
19 static void Shutdown();
21 virtual ~ActivityViewManager() {}
23 // Adds/Removes a task.
24 virtual void AddActivity(Activity
* task
) = 0;
25 virtual void RemoveActivity(Activity
* task
) = 0;
27 // Updates the UI when the task color/title changes.
28 virtual void UpdateActivity(Activity
* task
) = 0;
33 #endif // ATHENA_ACTIVITY_PUBLIC_ACTIVITY_VIEW_MANAGER_H_