1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef InternetCiter_h
7 #define InternetCiter_h
10 #include "nsStringFwd.h"
15 * Mail citations using standard Internet style.
17 class InternetCiter final
{
19 static nsresult
GetCiteString(const nsAString
& aInString
,
20 nsAString
& aOutString
);
22 static nsresult
Rewrap(const nsAString
& aInString
, uint32_t aWrapCol
,
23 uint32_t aFirstLineOffset
, bool aRespectNewlines
,
24 nsAString
& aOutString
);
27 } // namespace mozilla
29 #endif // #ifndef InternetCiter_h