Skip to content

Commit

Permalink
Add StreamOverlays main class (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasnicolaas authored Jun 12, 2024
1 parent 69b2132 commit 8a2805d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions stream_overlays/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,27 @@
from flask import templating
from flask.blueprints import Blueprint

class StreamOverlays():
"""Stream Overlays plugin class."""

def __init__(self, rhapi):
"""Initialize StreamOverlays.
Args:
-----
rhapi (RotorHazardAPI): RotorHazard API instance.
"""
self._rhapi = rhapi

def initialize(rhapi):
"""Initialize the plugin.
Args:
-----
rhapi (RotorHazardAPI): RotorHazard API instance.
"""
StreamOverlays(rhapi)

bp = Blueprint(
'stream_overlays',
__name__,
Expand Down

0 comments on commit 8a2805d

Please sign in to comment.