~ubuntu-branches/ubuntu/lucid/pitivi/lucid

« back to all changes in this revision

Viewing changes to pitivi/ui/dnd.py

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2009-05-27 14:22:49 UTC
  • mfrom: (1.2.1 upstream) (3.1.13 experimental)
  • Revision ID: james.westby@ubuntu.com-20090527142249-tj0qnkc37320ylml
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# PiTiVi , Non-linear video editor
 
2
#
 
3
#       pitivi/pitivi.py
 
4
#
 
5
# Copyright (c) 2005, Edward Hervey <bilboed@bilboed.com>
 
6
#
 
7
# This program is free software; you can redistribute it and/or
 
8
# modify it under the terms of the GNU Lesser General Public
 
9
# License as published by the Free Software Foundation; either
 
10
# version 2.1 of the License, or (at your option) any later version.
 
11
#
 
12
# This program is distributed in the hope that it will be useful,
 
13
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
15
# Lesser General Public License for more details.
 
16
#
 
17
# You should have received a copy of the GNU Lesser General Public
 
18
# License along with this program; if not, write to the
 
19
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
20
# Boston, MA 02111-1307, USA.
 
21
 
 
22
"""
 
23
Drag and drop constants
 
24
"""
 
25
 
 
26
TYPE_TEXT_PLAIN = 24
 
27
TYPE_URI_LIST = 25
 
28
 
 
29
# FileSourceFactory (or subclasses)
 
30
TYPE_PITIVI_FILESOURCE = 26
 
31
 
 
32
# What objects to these correspond to ???
 
33
TYPE_PITIVI_EFFECT = 27
 
34
TYPE_PITIVI_AUDIO_EFFECT = 28
 
35
TYPE_PITIVI_VIDEO_EFFECT = 29
 
36
TYPE_PITIVI_AUDIO_TRANSITION = 30
 
37
TYPE_PITIVI_VIDEO_TRANSITION = 31
 
38
 
 
39
FILE_TUPLE = ("text/plain", 0, TYPE_TEXT_PLAIN)
 
40
URI_TUPLE = ("text/uri-list", 0, TYPE_URI_LIST)
 
41
FILESOURCE_TUPLE = ("pitivi/file-source", 0, TYPE_PITIVI_FILESOURCE)
 
42
EFFECT_TUPLE = ("pitivi/effect", 0, TYPE_PITIVI_EFFECT)
 
43
AUDIO_EFFECT_TUPLE = ("pitivi/audio-effect", 0, TYPE_PITIVI_AUDIO_EFFECT)
 
44
VIDEO_EFFECT_TUPLE = ("pitivi/video-effect", 0, TYPE_PITIVI_VIDEO_EFFECT)
 
45
AUDIO_TRANSITION_TUPLE = ("pitivi/audio-transition", 0, TYPE_PITIVI_AUDIO_TRANSITION)
 
46
VIDEO_TRANSITION_TUPLE = ("pitivi/video-transition", 0, TYPE_PITIVI_VIDEO_TRANSITION)