forked from shotgunsoftware/tk-framework-widget
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathframework.py
35 lines (24 loc) · 925 Bytes
/
framework.py
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
26
27
28
29
30
31
32
33
34
35
# Copyright (c) 2013 Shotgun Software Inc.
#
# CONFIDENTIAL AND PROPRIETARY
#
# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit
# Source Code License included in this distribution package. See LICENSE.
# By accessing, using, copying or modifying this work you indicate your
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
# not expressly granted therein are reserved by Shotgun Software Inc.
"""
Basic Tank Widget Framework
"""
import tank
import platform
import sys
import traceback
import os
class WidgetFramework(tank.platform.Framework):
##########################################################################################
# init and destroy
def init_framework(self):
self.log_debug("%s: Initializing..." % self)
def destroy_framework(self):
self.log_debug("%s: Destroying..." % self)