summaryrefslogtreecommitdiff
path: root/python/collaboration/compatibility.py
blob: e723cd697316e8b0e3a40bf46be24d85b0aad6a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import warnings

from .file import RemoteFile
from .folder import RemoteFolder
from .project import RemoteProject


class File(RemoteFile):
	def __init__(self, handle):
		warnings.warn('Legacy class "File" will be removed in a future version. Please migrate to "binaryninja.collaboration.file.RemoteFile".')
		super().__init__(handle)

class Folder(RemoteFolder):
	def __init__(self, handle):
		warnings.warn('Legacy class "Folder" will be removed in a future version. Please migrate to "binaryninja.collaboration.folder.RemoteFolder".')
		super().__init__(handle)

class Project(RemoteProject):
	def __init__(self, handle):
		warnings.warn('Legacy class "Project" will be removed in a future version. Please migrate to "binaryninja.collaboration.project.RemoteProject".')
		super().__init__(handle)