Files
ClaudeProjectManager-main/gui/handlers/base_handler.py
Claude Project Manager ec92da8a64 Initial commit
2025-07-07 22:11:38 +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")