File: wb_clipboard.py

package info (click to toggle)
svn-workbench 1.5.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,400 kB
  • ctags: 1,585
  • sloc: python: 12,163; sh: 74; makefile: 46; ansic: 9
file content (25 lines) | stat: -rw-r--r-- 689 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
'''
 ====================================================================
 Copyright (c) 2003-2006 Barry A Scott.  All rights reserved.

 This software is licensed as described in the file LICENSE.txt,
 which you should have received as part of this distribution.

 ====================================================================

    wb_clipboard.py

'''
class Clipboard:
    def __init__( self, all_filenames, is_copy ):
        self.__is_copy = is_copy
        self.__all_filenames = all_filenames

    def isCopy( self ):
        return self.__is_copy

    def isCut( self ):
        return not self.__is_copy

    def getAllFilenames( self ):
        return self.__all_filenames