Initial commit: ReminderOrganizer WPF app
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
36
Services/Interfaces.cs
Normal file
36
Services/Interfaces.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
#nullable enable
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using ReminderOrganizer.Models;
|
||||
|
||||
namespace ReminderOrganizer.Services
|
||||
{
|
||||
public interface IDataService
|
||||
{
|
||||
Task<AppData> LoadAsync();
|
||||
Task SaveAsync(AppData data);
|
||||
string DataFilePath { get; }
|
||||
}
|
||||
|
||||
public interface INotificationService
|
||||
{
|
||||
void ShowNotification(string title, string message);
|
||||
}
|
||||
|
||||
public interface ILocalizationService
|
||||
{
|
||||
string GetString(string key);
|
||||
void SetLanguage(string languageCode);
|
||||
string CurrentLanguage { get; }
|
||||
event EventHandler? LanguageChanged;
|
||||
event EventHandler? StringsChanged;
|
||||
void Initialize(AppData appData);
|
||||
}
|
||||
|
||||
public interface IAutostartService
|
||||
{
|
||||
bool IsAutostartEnabled { get; }
|
||||
void ToggleAutostart();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user