File: user.py

package info (click to toggle)
timekpr-next 0.5.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,440 kB
  • sloc: python: 7,938; sh: 98; xml: 39; makefile: 6
file content (23 lines) | stat: -rw-r--r-- 760 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
"""
Created on Aug 28, 2018

@author: mjasnik
"""

# connection with ck
class timekprUserManager(object):
    # init
    def __init__(self, pUserName, pUserPathOnBus):
        """Initialize manager for ConsoleKit."""
        # NOT IMPLEMENTED
        raise NotImplementedError("ConsoleKit support is not implemented")

    def cacheUserSessionList(self):
        """Determine user sessions and cache session objects for further reference."""
        # NOT IMPLEMENTED
        raise NotImplementedError("ConsoleKit support is not implemented")

    def isUserActive(self, pSessionTypes, pTrackInactive, pIsScreenLocked):
        """Check if user is active."""
        # NOT IMPLEMENTED
        raise NotImplementedError("ConsoleKit support is not implemented")