#define DALI_ADAPTOR_ATSPI_ACCESSIBLE_H
/*
- * Copyright (c) 2024 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
return mSuppressedEvents;
}
+ /**
+ * @brief Clears internal cache data on bridge down
+ */
+ void ClearCache();
+
protected:
Accessible();
Accessible(const Accessible&) = delete;
/*
- * Copyright (c) 2024 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
}
}
}
+
+void Accessible::ClearCache()
+{
+ mLastEmittedState.clear();
+}
\ No newline at end of file
/*
- * Copyright (c) 2024 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
mDirectReadingCallbacks.clear();
mApplication.mChildren.clear();
ClearTimer();
+
+ for(auto& [key, obj] : mAccessibles)
+ {
+ obj->ClearCache();
+ }
}
void ClearTimer()