Skip to content

Commit

Permalink
try declaring some qt classes
Browse files Browse the repository at this point in the history
  • Loading branch information
mnutt committed Jan 12, 2024
1 parent 1b02bfc commit de91f03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Source/WTF/wtf/text/WTFString.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
QT_BEGIN_NAMESPACE
class QString;
class QStringView;
class QLatin1StringView;
class QByteArrayView;
QT_END_NAMESPACE
#endif

Expand Down
4 changes: 3 additions & 1 deletion Source/WTF/wtf/text/qt/StringQt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "config.h"

#include <QString>
#include <QStringView>
#include <QByteArrayView>
#include <QLatin1StringView>
#include <wtf/StdLibExtras.h>
#include <wtf/text/WTFString.h>

Expand Down

0 comments on commit de91f03

Please sign in to comment.