Files
ClaudeProjectManager/gui/handlers/base_handler.py
Claude Project Manager 4dab418f2f Initial commit
2025-07-09 22:10:42 +02:00

19 Zeilen
481 B
Python

"""
Base Handler for common functionality
"""
from typing import TYPE_CHECKING
from utils.logger import logger
if TYPE_CHECKING:
from gui.main_window import MainWindow
class BaseHandler:
"""Base class for all handlers"""
def __init__(self, main_window: 'MainWindow'):
"""Initialize with reference to main window"""
self.main_window = main_window
self.root = main_window.root
logger.info(f"{self.__class__.__name__} initialized")