~ubuntu-branches/ubuntu/breezy/kdemultimedia/breezy

« back to all changes in this revision

Viewing changes to arts/midi/midimanager_impl.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2005-03-24 04:48:58 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050324044858-8ff88o9jxej6ii3d
Tags: 4:3.4.0-0ubuntu3
Add kubuntu_02_hide_arts_menu_entries.diff to hide artsbuilder and artscontrol k-menu entries

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
namespace Arts {
29
29
 
30
30
class MidiClient_impl;
31
 
class MidiManager_impl : virtual public MidiManager_skel {
 
31
class MidiSyncGroup_impl;
 
32
class MidiManager_impl : virtual public MidiManager_skel,
 
33
                                                 virtual public TimeNotify
 
34
{
32
35
protected:
33
36
        std::list<MidiClient_impl *> _clients;
 
37
        std::list<MidiSyncGroup_impl *> syncGroups;
 
38
 
34
39
        long nextID;
 
40
        AlsaMidiGateway alsaMidiGateway;
 
41
 
 
42
        void notifyTime();
35
43
 
36
44
public:
37
45
        MidiManager_impl();
 
46
        ~MidiManager_impl();
38
47
 
39
48
        // public interface
40
49
        std::vector<MidiClientInfo> *clients();
44
53
 
45
54
        void connect(long clientID, long destinationID);
46
55
        void disconnect(long clientID, long destinationID);
 
56
        MidiSyncGroup addSyncGroup();
47
57
 
48
58
        // interface to MidiClient_impl
49
59
        void removeClient(MidiClient_impl *client);
50
60
        MidiClient_impl *findClient(long clientID);
 
61
 
 
62
        // interface to MidiSyncGroup_impl
 
63
        void removeSyncGroup(MidiSyncGroup_impl *group);
51
64
};                                                                              
52
65
 
53
 
};
 
66
}
54
67
#endif /* ARTS_MIDIMANAGER_IMPL_H */